History

RDMA/efa: Rename alloc_ucontext comp_mask to supported_caps

Following discussion [1], rename the comp_mask field in efa_ibv_alloc_ucontext_cmd to supported_caps to reflect its actual usage as a capabilities handshake mechanism rather than a standard comp_mask. Rename related constants and align function and macro names. [1] https://lore.kernel.org/linux-rdma/20260312120858.GH1448102@nvidia.com/

Michael Margolin committed 8 months ago

Commit 5aeb6e01 parent 6be4ca02 files · +12 −11Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/rdma/efa-abi.h+3−3
@@ -22,12 +22,12 @@ · 21 unmodified lines
2222 */
2323
2424 enum {
25− EFA_ALLOC_UCONTEXT_CMD_COMP_TX_BATCH = 1 << 0,
26− EFA_ALLOC_UCONTEXT_CMD_COMP_MIN_SQ_WR = 1 << 1,
25+ EFA_ALLOC_UCONTEXT_CMD_SUPP_CAPS_TX_BATCH = 1 << 0,
26+ EFA_ALLOC_UCONTEXT_CMD_SUPP_CAPS_MIN_SQ_WR = 1 << 1,
2727 };
2828
2929 struct efa_ibv_alloc_ucontext_cmd {
30− __u32 comp_mask;
30+ __u32 supported_caps;
3131 __u8 reserved_20[4];
3232 };
3333

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t