History

RDMA/efa: Expose RDMA read related attributes

Query the device attributes for RDMA operations, including maximum transfer size and maximum number of SGEs per RDMA WR, and report them back to the userspace library.

Daniel Kranzdorf committed 6 years ago

Commit 666e8ff1 parent e6c4f3f5 files · +46 −5Browse files

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

Unified · Split

include/uapi/rdma/efa-abi.h+6−0
@@ -90,12 +90,18 @@ struct efa_ibv_create_ah_resp { · 89 unmodified lines
90 __u8 reserved_30[2];90 __u8 reserved_30[2];
91};91};
92 92
93enum {
94 EFA_QUERY_DEVICE_CAPS_RDMA_READ = 1 << 0,
95};
96
93struct efa_ibv_ex_query_device_resp {97struct efa_ibv_ex_query_device_resp {
94 __u32 comp_mask;98 __u32 comp_mask;
95 __u32 max_sq_wr;99 __u32 max_sq_wr;
96 __u32 max_rq_wr;100 __u32 max_rq_wr;
97 __u16 max_sq_sge;101 __u16 max_sq_sge;
98 __u16 max_rq_sge;102 __u16 max_rq_sge;
103 __u32 max_rdma_size;
104 __u32 device_caps;
99};105};
100 106
101#endif /* EFA_ABI_USER_H */107#endif /* EFA_ABI_USER_H */