]> 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)
commit264fdc443d9518195aaecf3f16f6f1137bfd0a1c
tree256b3592ac6257f84c2dc5467b8081c4b8d69cdd
parent705e4bbf03b427ccbe68e16bc057cb18ee62cff3
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