]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23a74a998fd3e56e59a21d24959938670e362688
treeeca311e7455a7edba0c361afdb05996b4b42cb3e
parent5ec54ca3a970a960067d754565962778536e4b5e
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