diff options
author | majd@mellanox.com <majd@mellanox.com> | 2016-01-14 18:13:03 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-01-21 18:01:09 +0100 |
commit | 19098df2da784c851532c78bd570cb1c8f4aff52 (patch) | |
tree | d6b4c9b535b4c53c920b101a1b8546f87e9d3dbc /drivers/clk/ux500 | |
parent | IB/mlx5: Allocate a Transport Domain for each ucontext (diff) | |
download | linux-19098df2da784c851532c78bd570cb1c8f4aff52.tar.xz linux-19098df2da784c851532c78bd570cb1c8f4aff52.zip |
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/clk/ux500')
0 files changed, 0 insertions, 0 deletions