1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel
Shannon Nelson 2f41f33586 i40e/i40evf: fix unicast mac address add
When using something like "ip maddr add ..." to add another unicast mac
address to the netdev, the mac address comes into the set_rx_mode handler
in the multicast list whether it is a unicast or multicast address.
This was confusing the code when it was trying to search for addresses
that needed to be deleted from the VSI, because it was looking for the
VSI unicast address in the netdev unicast list.  The result was that a
new unicast address would get added to the VSI list and then immediately
removed, and would never actually make it down into the hardware.

This patch removes the separation from unicast and multicast in the search
for filters to be deleted.  It also simplifies the logic a little with a
jump to the bottom of the loop when an address is found.  Now it doesn't
matter which netdev list the address is hiding in, we'll check them all.

Change-ID: Ie3685a92427ae7d2212bf948919ce295bc7a874c
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-10-07 14:26:04 -07:00
..
e1000 e1000: remove dead e1000_init_eeprom_params calls 2015-09-22 15:58:28 -07:00
e1000e e1000e: Enable TSO for stacked VLAN 2015-09-22 15:58:28 -07:00
fm10k fm10k: add support for extra debug statistics 2015-09-22 15:58:27 -07:00
i40e i40e/i40evf: fix unicast mac address add 2015-10-07 14:26:04 -07:00
i40evf i40e/i40evf: fix unicast mac address add 2015-10-07 14:26:04 -07:00
igb net: igb: avoid using timespec 2015-10-05 03:16:42 -07:00
igbvf igbvf: Enable TSO for stacked VLAN 2015-09-22 15:58:28 -07:00
ixgb ixgb: call netif_carrier_off early on down 2015-03-20 17:41:52 -07:00
ixgbe ixgbe: Advance version to 4.2.1 2015-09-23 23:09:34 -07:00
ixgbevf ixgbevf: Enables TSO for stacked VLAN 2015-09-22 15:58:29 -07:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00
e100.c e100: Release skb when DMA mapping is failed in e100_xmit_prepare 2015-08-18 14:06:05 -07:00