linux/drivers/infiniband/hw/cxgb4
Hariprasad Shenai cf38be6d61 iw_cxgb4: Allocate and use IQs specifically for indirect interrupts
Currently indirect interrupts for RDMA CQs funnel through the LLD's RDMA
RXQs, which also handle direct interrupts for offload CPLs during RDMA
connection setup/teardown.  The intended T4 usage model, however, is to
have indirect interrupts flow through dedicated IQs. IE not to mix
indirect interrupts with CPL messages in an IQ.  This patch adds the
concept of RDMA concentrator IQs, or CIQs, setup and maintained by the
LLD and exported to iw_cxgb4 for use when creating CQs. RDMA CPLs will
flow through the LLD's RDMA RXQs, and CQ interrupts flow through the
CIQs.

Design:

cxgb4 creates and exports an array of CIQs for the RDMA ULD.  These IQs
are sized according to the max available CQs available at adapter init.
In addition, these IQs don't need FL buffers since they only service
indirect interrupts.  One CIQ is setup per RX channel similar to the
RDMA RXQs.

iw_cxgb4 will utilize these CIQs based on the vector value passed into
create_cq().  The num_comp_vectors advertised by iw_cxgb4 will be the
number of CIQs configured, and thus the vector value will be the index
into the array of CIQs.

Based on original work by Steve Wise <swise@opengridcomputing.com>

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-06-10 22:49:54 -07:00
..
cm.c RDMA/cxgb4: Force T5 connections to use TAHOE congestion control 2014-04-28 17:29:41 -07:00
cq.c iw_cxgb4: Allocate and use IQs specifically for indirect interrupts 2014-06-10 22:49:54 -07:00
device.c RDMA/cxgb4: Use the BAR2/WC path for kernel QPs and T5 devices 2014-04-11 11:36:01 -07:00
ev.c RDMA/cxgb4: Handle newer firmware changes 2013-08-13 11:55:44 -07:00
id_table.c drivers/infiniband/hw: rename random32() to prandom_u32() 2013-05-07 18:38:27 -07:00
iw_cxgb4.h RDMA/cxgb4: Fix endpoint mutex deadlocks 2014-04-28 17:29:41 -07: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 RDMA/cxgb4: Add missing debug stats 2014-04-11 11:36:09 -07:00
provider.c iw_cxgb4: Allocate and use IQs specifically for indirect interrupts 2014-06-10 22:49:54 -07:00
qp.c RDMA/cxgb4: Only allow kernel db ringing for T4 devs 2014-04-28 17:29:41 -07:00
resource.c RDMA/cxgb4: Add missing debug stats 2014-04-11 11:36:09 -07:00
t4.h iw_cxgb4: Allocate and use IQs specifically for indirect interrupts 2014-06-10 22:49:54 -07:00
t4fw_ri_api.h RDMA/cxgb4: Force T5 connections to use TAHOE congestion control 2014-04-28 17:29:41 -07:00
user.h cxgb4/iw_cxgb4: Doorbell Drop Avoidance Bug Fixes 2014-03-14 22:44:11 -04:00