OSDN Git Service

ixgbe: Ping the VFs on link status change to trigger link change
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 5 May 2012 05:30:38 +0000 (05:30 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 18 Jul 2012 01:47:00 +0000 (18:47 -0700)
commitbefa2af778b5cf5737eea3e3ff370c4f46d3f131
treeb2cf4282084536310ae40a79023923f1e93edabe
parent5abf7f7e0f6bdbfcac737f636497d7016d9507eb
ixgbe: Ping the VFs on link status change to trigger link change

When the link status changes on the PF we need to notify the VFs. In order
to do this we should ping all of the VFs in order to trigger a link status
change on them as well.

This fixes issues in which the PF would reset, but the VF didn't because the
NAK flag was not set in the VF mailbox.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c