]> www.infradead.org Git - users/jedix/linux-maple.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)
committerDhaval Giani <dhaval.giani@oracle.com>
Fri, 20 Jan 2017 18:07:47 +0000 (13:07 -0500)
commitddec474b3d01a5e352fa4b2d0de1351c2a896060
tree1873535a7c4be1e2d4cd2fb4f01a3d16c593252d
parentee3cc21cd27568fef4cab33c8f4c711f096e90cc
bnxt_en: Fixed the VF link status after a link state change

Orabug: 24567991

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>
(cherry picked from commit 350a714960eb8a980c913c9be5a96bb18b2fe9da)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c