mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
OFED: Use _ib_modify_qp to implement ib_modify_qp
This was missed when merging in ib_modify_qp_with_udata() previously.
Tested by: Wafa Hamzah <[email protected]> (mlx5_ib)
Tested by: John Baldwin <[email protected]> (iw_cxgbe)
Fixes: b633e08c70 ("ibcore: Kernel space update based on Linux 5.7-rc1.")
Sponsored by: Chelsio Communications
This commit is contained in:
1 parent
8452afeb56
commit
eaf9f1aafa
1 file changed
+1
-9
@@ -1412,15 +1412,7 @@ int ib_modify_qp(struct ib_qp *qp,
|
||||
struct ib_qp_attr *qp_attr,
|
||||
int qp_attr_mask)
|
||||
{
|
||||
if (qp_attr_mask & IB_QP_AV) {
|
||||
int ret;
|
||||
|
||||
ret = ib_resolve_eth_dmac(qp->device, &qp_attr->ah_attr);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
return qp->device->modify_qp(qp->real_qp, qp_attr, qp_attr_mask, NULL);
|
||||
return _ib_modify_qp(qp->real_qp, qp_attr, qp_attr_mask, NULL);
|
||||
}
|
||||
EXPORT_SYMBOL(ib_modify_qp);
|
||||
|
||||
|
||||
Reference in new issue
Block a user