]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_re: Don't issue cmd to delete GID for QP1 GID entry before the QP is destroyed
authorSomnath Kotur <somnath.kotur@broadcom.com>
Thu, 31 Aug 2017 03:57:35 +0000 (09:27 +0530)
committerDoug Ledford <dledford@redhat.com>
Fri, 22 Sep 2017 17:57:33 +0000 (13:57 -0400)
commit6644981f33a0673cf2d452d01a9afb8079f2ae35
tree256b3592ac6257f84c2dc5467b8081c4b8d69cdd
parentf6915da04576c43d47c4925773aed7b78f511043
bnxt_re: Don't issue cmd to delete GID for QP1 GID entry before the QP is destroyed

FW needs the 0th GID Entry in the Table to be preserved before
it's corresponding QP1 is deleted, else it will fail the cmd.
Check for the same and return to prevent error msg being logged for
cmd failure.

Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/bnxt_re/ib_verbs.c