net/bnxt: fix HWRM command failures during VF unload
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Mon, 30 Oct 2017 16:08:08 +0000 (11:08 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 1 Nov 2017 21:17:06 +0000 (22:17 +0100)
commit9cea9e567207b46f26ab112f63b6bffbf9a35d68
tree4289462705de13ea84aff16bb3932da13f8f0d54
parent5889248ce94faffc71005c671b960effef3f9fab
net/bnxt: fix HWRM command failures during VF unload

In some cases when a VF driver is unloaded after the PF driver,
certain HWRM commands are returned with an error.
Instead the PF can tell the FW to permit these commands in order
to allow a clean unload.

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c