aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_common.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2011-01-19 18:33:05 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-02-08 01:20:00 -0800
commit96cc637235892a102fb829218adac048bd730ab7 (patch)
treedd30d6d6a31de031c233ed97abef1467d21d6835 /drivers/net/ixgbe/ixgbe_common.c
parenta124339ad28389093ed15eca990d39c51c5736cc (diff)
downloadkernel_samsung_smdk4412-96cc637235892a102fb829218adac048bd730ab7.tar.gz
kernel_samsung_smdk4412-96cc637235892a102fb829218adac048bd730ab7.tar.bz2
kernel_samsung_smdk4412-96cc637235892a102fb829218adac048bd730ab7.zip
ixgbe: limit VF access to network traffic
This change fixes VM pool allocation issues based on MAC address filtering, as well as limits the scope of VF access to promiscuous mode. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Acked-by: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_common.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_common.c b/drivers/net/ixgbe/ixgbe_common.c
index d5ede2df3e4..ebbda7d1525 100644
--- a/drivers/net/ixgbe/ixgbe_common.c
+++ b/drivers/net/ixgbe/ixgbe_common.c
@@ -1370,6 +1370,9 @@ s32 ixgbe_init_rx_addrs_generic(struct ixgbe_hw *hw)
hw_dbg(hw, " New MAC Addr =%pM\n", hw->mac.addr);
hw->mac.ops.set_rar(hw, 0, hw->mac.addr, 0, IXGBE_RAH_AV);
+
+ /* clear VMDq pool/queue selection for RAR 0 */
+ hw->mac.ops.clear_vmdq(hw, 0, IXGBE_CLEAR_VMDQ_ALL);
}
hw->addr_ctrl.overflow_promisc = 0;