RDMA/ocrdma: Cache recv DB until QP moved to RTR
authorNaresh Gottumukkala <bgottumukkala@emulex.com>
Wed, 7 Aug 2013 07:22:37 +0000 (12:52 +0530)
committerRoland Dreier <roland@purestorage.com>
Mon, 12 Aug 2013 18:00:51 +0000 (11:00 -0700)
commit45e86b33ec8b33f9ed41d9f9005f9e663018f8f1
treeeca311e7455a7edba0c361afdb05996b4b42cb3e
parent7b9b1a596e0f37b463dfe3bc36b6d035c7450ca0
RDMA/ocrdma: Cache recv DB until QP moved to RTR

1) In post recv, don't ring the DB doorbell if the QP is in RTR state.
   Cache the DB calls, until the QP is moved to RTS state.
2) Add max_rd_sge support to dev->attr.
3) Code cleanup in alloc_pd path.

Signed-off-by: Naresh Gottumukkala <bgottumukkala@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma.h
drivers/infiniband/hw/ocrdma/ocrdma_hw.c
drivers/infiniband/hw/ocrdma/ocrdma_sli.h
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c