]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd46782d231a1613476414049bc31414ae923d203
treed380b30b05f89030c4b0ecbaf7873517795e6e5a
parent580fbf148f03a0f76865dba2dc077ad270cf03c5
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: 9c6bb6aab97d ("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