net/bnxt: add a failure log
authorSomnath Kotur <somnath.kotur@broadcom.com>
Fri, 30 Oct 2020 07:03:03 +0000 (12:33 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:07 +0000 (23:35 +0100)
commit0bf5a0b5ebb8e020e441c8e01c8a10900f859692
tree2fd5eeb0f1dbc99976d9fe158410a5bcc26bd97c
parent096b31fc0d8c989cc455c35f4d1def24a4ed6dee
net/bnxt: add a failure log

Check and log an error message if switch domain free API fails

Coverity issue: 362757
Fixes: 322bd6e70272 ("net/bnxt: add port representor infrastructure")
Cc: stable@dpdk.org
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c