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
22 */22 */
23 23
24enum {24enum {
25 EFA_ALLOC_UCONTEXT_CMD_COMP_TX_BATCH = 1 << 0,25 EFA_ALLOC_UCONTEXT_CMD_SUPP_CAPS_TX_BATCH = 1 << 0,
26 EFA_ALLOC_UCONTEXT_CMD_COMP_MIN_SQ_WR = 1 << 1,26 EFA_ALLOC_UCONTEXT_CMD_SUPP_CAPS_MIN_SQ_WR = 1 << 1,
27};27};
28 28
29struct efa_ibv_alloc_ucontext_cmd {29struct efa_ibv_alloc_ucontext_cmd {
30 __u32 comp_mask;30 __u32 supported_caps;
31 __u8 reserved_20[4];31 __u8 reserved_20[4];
32};32};
33 33

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