net/ixgbe/base: clear stale VMDq pool mappings
authorBeilei Xing <beilei.xing@intel.com>
Thu, 23 Jun 2016 07:22:18 +0000 (15:22 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 27 Jun 2016 14:17:53 +0000 (16:17 +0200)
commiteb1ef7bea1dc258ee6789be914915f1ecdb83975
tree62dea3931e61a129a17576ca70529a11f35a82db
parentfc0559bdb5e3f0171c73e48665a872800c5de99b
net/ixgbe/base: clear stale VMDq pool mappings

This patch adds clearing the pool mappings when configuring default
MAC addresses for the interface. Without this there will be the risk
of leaking an address into pool 0 which really belongs to VF 0 when
SR-IOV is enabled.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/ixgbe/base/ixgbe_82599.c
drivers/net/ixgbe/base/ixgbe_common.c
drivers/net/ixgbe/base/ixgbe_x540.c