i40iw: Do not allow posting WR after QP is flushed
authorShiraz Saleem <shiraz.saleem@intel.com>
Tue, 3 Oct 2017 16:11:48 +0000 (11:11 -0500)
committerDoug Ledford <dledford@redhat.com>
Wed, 4 Oct 2017 19:29:39 +0000 (15:29 -0400)
commit40837273d084ad1584dbaea5e8fbefe0a64f2a6b
treed380b30b05f89030c4b0ecbaf7873517795e6e5a
parentabae49e433c5b02b6ff583eee00321eee2bad18a
i40iw: Do not allow posting WR after QP is flushed

A Work Request (WR) posted after QP is flushed will not
get a flush completion.

Correct this problem by not allowing posting of WRs
after a QP is flushed.

Fixes: d37498417947 ("i40iw: add files for iwarp interface")
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_verbs.c