linux/drivers/infiniband/hw
Dennis Dalessandro 5da0fc9dbf IB/hfi1: Prepare resource waits for dual leg
Current implementation allows each qp to have only one send engine.  As
such, each qp has only one list to queue prebuilt packets when send engine
resources are not available. To improve performance, it is desired to
support multiple send engines for each qp.

This patch creates the framework to support two send engines
(two legs) for each qp for the TID RDMA protocol, which can be easily
extended to support more send engines. It achieves the goal by creating a
leg specific struct, iowait_work in the iowait struct, to hold the
work_struct and the tx_list as well as a pointer to the parent iowait
struct.

The hfi1_pkt_state now has an additional field to record the current legs
work structure and that is now passed to all egress waiters to determine
the leg that needs to wait via a new iowait helper.  The APIs are adjusted
to use the new leg specific struct as required.

Many new and modified helpers are added to support this change.

Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-09-30 19:21:12 -06:00
..
bnxt_re RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
cxgb3 RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
cxgb4 RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
hfi1 IB/hfi1: Prepare resource waits for dual leg 2018-09-30 19:21:12 -06:00
hns RDMA/hns: remove set but not used variable 'dseg' 2018-09-30 19:21:11 -06:00
i40iw RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
mlx4 RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
mlx5 IB/mlx5: Enable DEVX on IB 2018-09-27 13:01:33 -06:00
mthca IB/mthca: remove redundant inner check of mdev->mthca_flags 2018-09-26 16:34:11 -06:00
nes RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
ocrdma RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
qedr RDMA/qedr: Remove enumerated type qed_roce_ll2_tx_dest 2018-09-30 19:21:11 -06:00
qib IB/hfi1: Prepare resource waits for dual leg 2018-09-30 19:21:12 -06:00
usnic RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
vmw_pvrdma RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00