OSDN Git Service

ixgbe: Only enable anti-spoof on VF pools
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 5 May 2012 05:32:58 +0000 (05:32 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 20 Jul 2012 01:20:23 +0000 (18:20 -0700)
commitef89e0a24ea97fc9209074a19cf60e63bba18c22
tree39f5a969af336f79d884c556e1701f42c5845486
parent7fa7c9dcadcff800a897232204e2128e92dd44cd
ixgbe: Only enable anti-spoof on VF pools

The current logic is enabling anti-spoof on all pools and then clearing
anti-spoof on just the first PF pool.  The correct approach is to only set
anti-spoof on the VF pools and to leave all of the PF pools unchecked.

This allows for items such as FCoE to use adjacent pools within the PF for
transmit and receive queues without the traffic being blocked by this
security feature.

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_common.c