summaryrefslogtreecommitdiff
path: root/net/ieee802154
diff options
context:
space:
mode:
authormajd@mellanox.com <majd@mellanox.com>2016-01-14 20:13:03 +0300
committerDoug Ledford <dledford@redhat.com>2016-01-21 20:01:09 +0300
commit19098df2da784c851532c78bd570cb1c8f4aff52 (patch)
treed6b4c9b535b4c53c920b101a1b8546f87e9d3dbc /net/ieee802154
parent146d2f1af3245a10b13eef263687e54f4e253d1d (diff)
downloadlinux-19098df2da784c851532c78bd570cb1c8f4aff52.tar.xz
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 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions