diff options
author | Kalderon, Michal <Michal.Kalderon@cavium.com> | 2017-07-26 13:41:53 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-18 18:25:42 +0200 |
commit | f5b1b1775be6320aeac64b2d4fd38dc3f420fb18 (patch) | |
tree | 284d84288b23bb5aa3d34baa34430ce90b161f9a /drivers/infiniband/hw/qedr/qedr.h | |
parent | RDMA/qedr: Add support for registering an iWARP device (diff) | |
download | linux-f5b1b1775be6320aeac64b2d4fd38dc3f420fb18.tar.xz linux-f5b1b1775be6320aeac64b2d4fd38dc3f420fb18.zip |
RDMA/qedr: Add iWARP support in existing verbs
Make slight modifications to common RoCE/iWARP code.
Add additional doorbell for iWARP post_send.
iWARP QP pbl is allocated in qed and not in qedr.
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qedr/qedr.h')
-rw-r--r-- | drivers/infiniband/hw/qedr/qedr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/qedr/qedr.h b/drivers/infiniband/hw/qedr/qedr.h index c52fde04d575..0c0a39ad297b 100644 --- a/drivers/infiniband/hw/qedr/qedr.h +++ b/drivers/infiniband/hw/qedr/qedr.h @@ -319,6 +319,9 @@ struct qedr_qp_hwq_info { /* DB */ void __iomem *db; union db_prod32 db_data; + + void __iomem *iwarp_db2; + union db_prod32 iwarp_db2_data; }; #define QEDR_INC_SW_IDX(p_info, index) \ |