|
@@ -355,8 +355,7 @@ static int hns_roce_query_device(struct ib_device *ib_dev,
|
|
|
props->max_qp = hr_dev->caps.num_qps;
|
|
|
props->max_qp_wr = hr_dev->caps.max_wqes;
|
|
|
props->device_cap_flags = IB_DEVICE_PORT_ACTIVE_EVENT |
|
|
|
- IB_DEVICE_RC_RNR_NAK_GEN |
|
|
|
- IB_DEVICE_LOCAL_DMA_LKEY;
|
|
|
+ IB_DEVICE_RC_RNR_NAK_GEN;
|
|
|
props->max_sge = hr_dev->caps.max_sq_sg;
|
|
|
props->max_sge_rd = 1;
|
|
|
props->max_cq = hr_dev->caps.num_cqs;
|