]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc56419042d822d04f146bbaee0ca0c1ae8c9a733
tree470c146ce7a19da9836a16b9bc454941b2b9a428
parent6099438ffc0d5df5d214812dd8b4a7cea8e66718
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