net/bnxt: propagate FW command failure to application
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Thu, 12 Nov 2020 10:47:54 +0000 (16:17 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:05 +0000 (16:03 +0100)
commit4297cadef3a6eb42c32c12a1b3926316ee0e0f9a
tree7d518c18d91fd4f0fbd8fc81c1fe7390ccd31727
parent3c1fba1903659236b28c4103552632c2a95616dc
net/bnxt: propagate FW command failure to application

In bnxt_reta_update_op() and bnxt_rss_hash_update_op(), driver does not
propagate the error back to the application when the fw command fails.

Fixes: 378ab645bb0b ("net/bnxt: fix RSS RETA indirection table ops")
Fixes: fcc0aa1edc10 ("net/bnxt: add RSS hash configuration")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c