We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c88444 commit a261786Copy full SHA for a261786
drivers/infiniband/hw/irdma/verbs.c
@@ -46,8 +46,11 @@ static int irdma_query_device(struct ib_device *ibdev,
46
props->max_sge_rd = hw_attrs->uk_attrs.max_hw_read_sges;
47
props->max_qp_rd_atom = hw_attrs->max_hw_ird;
48
props->max_qp_init_rd_atom = hw_attrs->max_hw_ord;
49
- if (rdma_protocol_roce(ibdev, 1))
+ if (rdma_protocol_roce(ibdev, 1)) {
50
+ props->device_cap_flags |= IB_DEVICE_RC_RNR_NAK_GEN;
51
props->max_pkeys = IRDMA_PKEY_TBL_SZ;
52
+ }
53
+
54
props->max_ah = rf->max_ah;
55
props->max_mcast_grp = rf->max_mcg;
56
props->max_mcast_qp_attach = IRDMA_MAX_MGS_PER_CTX;
0 commit comments