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/
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -22,12 +22,12 @@ · 21 unmodified lines | ||
| 22 | 22 | */ |
| 23 | 23 | |
| 24 | 24 | 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, | |
| 27 | 27 | }; |
| 28 | 28 | |
| 29 | 29 | struct efa_ibv_alloc_ucontext_cmd { |
| 30 | − __u32 comp_mask; | |
| 30 | + __u32 supported_caps; | |
| 31 | 31 | __u8 reserved_20[4]; |
| 32 | 32 | }; |
| 33 | 33 | |