ixgbe: Add protection from VF invalid target DMA
authorGreg Rose <gregory.v.rose@intel.com>
Wed, 7 Sep 2011 05:59:35 +0000 (05:59 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 13 Oct 2011 05:45:24 +0000 (22:45 -0700)
commit83c61fa97a7d4ef16506a760f9e52b3144978346
tree470c146ce7a19da9836a16b9bc454941b2b9a428
parent9687c637388f63b87fcc18eee6e65bcfca4f49ca
ixgbe: Add protection from VF invalid target DMA

It is possible for a VF to set an invalid target DMA address in its
Tx/Rx descriptor buffer pointers.  The workarounds in this patch
will guard against such an event and issue a VFLR to the VF in response.
The VFLR will shut down the VF until an administrator can take action
to investigate the event and correct the problem.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c