summaryrefslogtreecommitdiffstats
path: root/drivers/ras
diff options
context:
space:
mode:
authormajd@mellanox.com <majd@mellanox.com>2016-01-14 19:13:03 +0200
committerDoug Ledford <dledford@redhat.com>2016-01-21 12:01:09 -0500
commit19098df2da784c851532c78bd570cb1c8f4aff52 (patch)
treed6b4c9b535b4c53c920b101a1b8546f87e9d3dbc /drivers/ras
parent146d2f1af3245a10b13eef263687e54f4e253d1d (diff)
IB/mlx5: Refactor mlx5_ib_qp to accommodate other QP types
Extract specific IB QP fields to mlx5_ib_qp_trans structure. The mlx5_core QP object resides in mlx5_ib_qp_base, which all QP types inherit from. When we need to find mlx5_ib_qp using mlx5_core QP (event handling and co), we use a pointer that resides in mlx5_ib_qp_base. In addition, we delete all redundant fields that weren't used anywhere in the code: -doorbell_qpn -sq_max_wqes_per_wr -sq_spare_wqes Signed-off-by: Majd Dibbiny <majd@mellanox.com> Reviewed-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions