Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/bnxt: check invalid VNIC in cleanup path
[ upstream commit fcaf844 ] The cleanup/rollback operation post rte_eth_dev_start failure might end up invoking an HWRM cmd even on an invalid vNIC resulting in error messages being logged needlessly. Fix to check for the same before issuing the HWRM cmd. Fixes: c09f57b ("net/bnxt: add start/stop/link update operations") Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
- Loading branch information