Skip to content

Commit

Permalink
prov/cxi: Depreciate FI_CXI_WEAK_FENCE
Browse files Browse the repository at this point in the history
With CXI provider ordering updated, FI_CXI_WEAK_FENCE is no longer
needed.

Signed-off-by: Ian Ziemba <[email protected]>
  • Loading branch information
iziemba committed Nov 25, 2024
1 parent 7eacfc2 commit cf257c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
5 changes: 0 additions & 5 deletions man/fi_cxi.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -1522,11 +1522,6 @@ if (ret)
error;
```

When an endpoint does not support FI_FENCE (e.g. optimized MR), a provider
specific transmit flag, FI_CXI_WEAK_FENCE, may be specified on an alias EP
to issue a FENCE operation to create a data ordering point for the alias.
This is supported for one-sided operations only.

Alias EP must be closed prior to closing the original EP.

## PCIe Atomics
Expand Down
9 changes: 4 additions & 5 deletions prov/cxi/include/fi_cxi_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,10 @@ enum {
*/
#define FI_CXI_UNRELIABLE (1ULL << 61)

/*
* Request a provider specific weak FENCE operation to facilitate an
* EP alias ordering point, when the original EP utilizes PCIe RO=1.
*/
#define FI_CXI_WEAK_FENCE (1ULL << 63)
/* Depreciated. */
#define FI_CXI_WEAK_FENCE \
_Pragma ("GCC warning \"'FI_CXI_WEAK_FENCE' macro is deprecated\"") \
(1ULL << 63)

/*
* Used in conjunction with the deferred work queue API. If a deferred work
Expand Down

0 comments on commit cf257c1

Please sign in to comment.