]> git.karo-electronics.de Git - karo-tx-linux.git/commit
RDMA/bnxt_re: Fix RQE posting logic
authorDevesh Sharma <devesh.sharma@broadcom.com>
Mon, 22 May 2017 10:15:40 +0000 (03:15 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Jun 2017 17:01:59 +0000 (13:01 -0400)
commit018cf5995d69d25be7330c3b8bef4c31bf2b273b
treec9119c8ab9ad9a01024d7f7e05f8ee588b1d7455
parent3fb755b3d58084001c89e5f0fd558552bdef9051
RDMA/bnxt_re: Fix RQE posting logic

This patch adds code to ring RQ Doorbell aggressively
so that the adapter can DMA RQ buffers sooner, instead
of DMA all WQEs in the post_recv WR list together at the
end of the post_recv verb.
Also use spinlock to serialize RQ posting

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/bnxt_re/bnxt_re.h
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/bnxt_re/ib_verbs.h