summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/i40iw/i40iw_p.h
diff options
context:
space:
mode:
authorIvan Barrera <ivan.d.barrera@intel.com>2017-10-16 15:46:04 -0500
committerDoug Ledford <dledford@redhat.com>2017-10-18 13:28:46 -0400
commitf535b56c39c81ba75c714b9163be540d39d3badd (patch)
tree3ecd003c2f0d7a552129c954cd586aca6e415efd /drivers/infiniband/hw/i40iw/i40iw_p.h
parent56b2f52310f9fdfc1ea7b99702f827f84ad16801 (diff)
downloadop-kernel-dev-f535b56c39c81ba75c714b9163be540d39d3badd.zip
op-kernel-dev-f535b56c39c81ba75c714b9163be540d39d3badd.tar.gz
i40iw: Remove UDA QP from QoS list if creation fails
If User-space Direct Access (UDA) QP creation fails, the QP entry is not removed from QoS list. Fix this by removing QP from QoS list if create QP fails. Fixes: 0fc2dc58896f ("i40iw: Add Quality of Service support") Signed-off-by: Ivan Barrera <ivan.d.barrera@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_p.h')
-rw-r--r--drivers/infiniband/hw/i40iw/i40iw_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_p.h b/drivers/infiniband/hw/i40iw/i40iw_p.h
index 2ad5a8e..11d3a2a 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_p.h
+++ b/drivers/infiniband/hw/i40iw/i40iw_p.h
@@ -86,7 +86,7 @@ void i40iw_sc_vsi_init(struct i40iw_sc_vsi *vsi, struct i40iw_vsi_init_info *inf
void i40iw_change_l2params(struct i40iw_sc_vsi *vsi, struct i40iw_l2params *l2params);
void i40iw_qp_add_qos(struct i40iw_sc_qp *qp);
-
+void i40iw_qp_rem_qos(struct i40iw_sc_qp *qp);
void i40iw_terminate_send_fin(struct i40iw_sc_qp *qp);
void i40iw_terminate_connection(struct i40iw_sc_qp *qp, struct i40iw_aeqe_info *info);
OpenPOWER on IntegriCloud