]> git.baikalelectronics.ru Git - kernel.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)
commit5c3f61ad876864446373392a570fe810cf2ce4c2
tree2acb53fef25409cf5b63cc3b9d4707231935876f
parent14f1909cc211a5b57374ce8ee8143e2003dc5d4d
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