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
9090 __u8 reserved_30[2];
9191 };
9292
93+enum {
94+ EFA_QUERY_DEVICE_CAPS_RDMA_READ = 1 << 0,
95+};
96+
9397 struct efa_ibv_ex_query_device_resp {
9498 __u32 comp_mask;
9599 __u32 max_sq_wr;
96100 __u32 max_rq_wr;
97101 __u16 max_sq_sge;
98102 __u16 max_rq_sge;
103+ __u32 max_rdma_size;
104+ __u32 device_caps;
99105 };
100106
101107 #endif /* EFA_ABI_USER_H */