]> 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)
commitcc42f44383c09eb34790382645554e307f825a14
tree2acb53fef25409cf5b63cc3b9d4707231935876f
parent4bf143ee807c0c3323ba8e776176a87d6ab55e2c
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