linux/drivers/infiniband/hw/cxgb4
Steve Wise 49b53a93a6 iw_cxgb4: add fast-path for small REG_MR operations
When processing a REG_MR work request, if fw supports the
FW_RI_NSMR_TPTE_WR work request, and if the page list for this
registration is <= 2 pages, and the current state of the mr is INVALID,
then use FW_RI_NSMR_TPTE_WR to pass down a fully populated TPTE for FW
to write.  This avoids FW having to do an async read of the TPTE blocking
the SQ until the read completes.

To know if the current MR state is INVALID or not, iw_cxgb4 must track the
state of each fastreg MR.  The c4iw_mr struct state is updated as REG_MR
and LOCAL_INV WRs are posted and completed, when a reg_mr is destroyed,
and when RECV completions are processed that include a local invalidation.

This optimization increases small IO IOPS for both iSER and NVMF.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-10-07 16:54:40 -04:00
..
cm.c iw_cxgb4: Remove deprecated create_singlethread_workqueue 2016-10-07 16:54:27 -04:00
cq.c iw_cxgb4: add fast-path for small REG_MR operations 2016-10-07 16:54:40 -04:00
device.c RDMA/iw_cxgb4: allocate enough space for debugfs "qps" dump 2016-06-23 10:44:16 -04:00
ev.c InfiniBand/RDMA changes for 3.20 merge window: 2015-02-21 12:53:21 -08:00
id_table.c drivers/infiniband/hw: rename random32() to prandom_u32() 2013-05-07 18:38:27 -07:00
iw_cxgb4.h IB/cxgb4: Move user vendor structures 2016-10-07 16:54:35 -04:00
Kconfig RDMA/cxgb4: Update Kconfig to include Chelsio T5 adapter 2014-04-28 17:29:41 -07:00
Makefile RDMA/cxgb4: Remove kfifo usage 2012-05-18 13:22:36 -07:00
mem.c iw_cxgb4: add fast-path for small REG_MR operations 2016-10-07 16:54:40 -04:00
provider.c IB/{core,hw}: Add constant for node_desc 2016-10-07 16:54:34 -04:00
qp.c iw_cxgb4: add fast-path for small REG_MR operations 2016-10-07 16:54:40 -04:00
resource.c RDMA/cxgb4: Add missing debug stats 2014-04-11 11:36:09 -07:00
t4.h iw_cxgb4: add fast-path for small REG_MR operations 2016-10-07 16:54:40 -04:00
t4fw_ri_api.h iw_cxgb4: add fast-path for small REG_MR operations 2016-10-07 16:54:40 -04:00