]> git.baikalelectronics.ru Git - kernel.git/commit
iw_cxgb4: invalidate the mr when posting a read_w_inv wr
authorSteve Wise <swise@opengridcomputing.com>
Thu, 3 Nov 2016 19:09:38 +0000 (12:09 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 17 Nov 2016 01:10:36 +0000 (20:10 -0500)
commit3436cd2f5da992b773ca3b0bcade203ed9d2957d
treef1f6f98a80c3b67904bd00dc8329f46eef32abb7
parentc5b5388bbcbea1d06be189a703b492764da6ba45
iw_cxgb4: invalidate the mr when posting a read_w_inv wr

Also, rearrange things a bit to have a common c4iw_invalidate_mr()
function used everywhere that we need to invalidate.

Fixes: db9a351fec44 ("iw_cxgb4: add fast-path for small REG_MR operations")
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/cq.c
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
drivers/infiniband/hw/cxgb4/mem.c
drivers/infiniband/hw/cxgb4/qp.c