Currently EFA WRs support 16-bit request ID, this requires EFA to manage a translation table to translate the IB WR ID from 64-bits to 16-bits and translating it back on CQ completion. Expose a new device capability to handle 64-bit request ID for SQ WRs allowing userspace to directly post the 64-bit ID to the device.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -136,6 +136,7 @@ enum { · 135 unmodified lines | |||
| 136 | EFA_QUERY_DEVICE_CAPS_UNSOLICITED_WRITE_RECV = 1 << 6, | 136 | EFA_QUERY_DEVICE_CAPS_UNSOLICITED_WRITE_RECV = 1 << 6, |
| 137 | EFA_QUERY_DEVICE_CAPS_CQ_WITH_EXT_MEM = 1 << 7, | 137 | EFA_QUERY_DEVICE_CAPS_CQ_WITH_EXT_MEM = 1 << 7, |
| 138 | EFA_QUERY_DEVICE_CAPS_COMP_CNTR = 1 << 8, | 138 | EFA_QUERY_DEVICE_CAPS_COMP_CNTR = 1 << 8, |
| 139 | EFA_QUERY_DEVICE_CAPS_SQ_64_BIT_REQ_ID = 1 << 9, | ||
| 139 | }; | 140 | }; |
| 140 | 141 | ||
| 141 | struct efa_ibv_ex_query_device_resp { | 142 | struct efa_ibv_ex_query_device_resp { |