]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bnxt_en: Fixed the VF link status after a link state change
authorEddie Wai <eddie.wai@broadcom.com>
Mon, 19 Sep 2016 07:58:09 +0000 (03:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2016 01:32:25 +0000 (21:32 -0400)
commit350a714960eb8a980c913c9be5a96bb18b2fe9da
tree2acb53fef25409cf5b63cc3b9d4707231935876f
parentae8e98a6fa7a73917196c507e43414ea96b6a0fc
bnxt_en: Fixed the VF link status after a link state change

The VF link state can be changed via the 'ip link set' cmd.
Currently, the new link state does not take effect immediately.

The fix is for the PF to send a link change async event to the
designated VF after a VF link state change.  This async event will
trigger the VF to update the link status.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c