qed: add error handling flow to TID deregistratin posting failure
authorRam Amrani <Ram.Amrani@cavium.com>
Sun, 30 Apr 2017 08:49:07 +0000 (11:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 15:42:14 +0000 (11:42 -0400)
commit105361943d3036f00f70a6621983b98673839591
tree3d4d4e0ee18eb6c761844e2e631cdbd0c10f673b
parentba0154e96449a5be3360d3a07bc4b6d476e2667e
qed: add error handling flow to TID deregistratin posting failure

If the posting of the ramrod for the purpose of TID deregistration
fails, abort the deregistration operation without using the FW's
return code.

Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_roce.c