OSDN Git Service

rdma/cxgb4: Add support for kernel mode SRQ's
authorRaju Rangoju <rajur@chelsio.com>
Wed, 25 Jul 2018 15:52:14 +0000 (21:22 +0530)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 26 Jul 2018 03:08:04 +0000 (21:08 -0600)
commit6a0b6174d35a141dfa30a32c848a3903e2d7f495
tree997fc739d08d048fe6937c4f6ef8df8d679004cd
parent7fc7a7cffab6b94cb5e47148e6852ba633078ea1
rdma/cxgb4: Add support for kernel mode SRQ's

This patch implements the srq specific verbs such as create/destroy/modify
and post_srq_recv. And adds srq specific structures and defines to t4.h
and uapi.

Also updates the cq poll logic to deal with completions that are
associated with the SRQ's.

This patch also handles kernel mode SRQ_LIMIT events as well as flushed
SRQ buffers

Signed-off-by: Raju Rangoju <rajur@chelsio.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb4/cm.c
drivers/infiniband/hw/cxgb4/cq.c
drivers/infiniband/hw/cxgb4/device.c
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
drivers/infiniband/hw/cxgb4/provider.c
drivers/infiniband/hw/cxgb4/qp.c
drivers/infiniband/hw/cxgb4/resource.c
drivers/infiniband/hw/cxgb4/t4.h