net/sfc: revise FW RSRC free error logs in transfer rules
authorIvan Malov <ivan.malov@oktetlabs.ru>
Tue, 20 Apr 2021 21:10:05 +0000 (00:10 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 21 Apr 2021 10:38:37 +0000 (12:38 +0200)
commit33dd909e16960cd05cb1126eb5e62e2e88270595
treef2f43f69fc0a0ead6da2564b21ea2d26b6cd2df7
parentd8caafcbf941432b385a42b5cde24674caf8b1f1
net/sfc: revise FW RSRC free error logs in transfer rules

The current code simply forwards FW resource free failure
to the application leaving the operation incomplete. This
stalls the application and makes debugging very difficult.

Make the driver proceed with handling FW resource free in
the case of errors. Add explicit error logging statements.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
drivers/net/sfc/sfc_mae.c