linux/drivers/net/e1000e
Jesse Brandeburg a72d2b2cc6 e1000e: fix loss of multicast packets
e1000e (and e1000, igb, ixgbe, ixgb) all do a series of operations each
time a multicast address is added.  The flow goes something like

1) stack adds one multicast address
2) stack passes whole current list of unicast and multicast addresses to
   driver
3) driver clears entire list in hardware
4) driver programs each multicast address using iomem in a loop

This was causing multicast packets to be lost during the reprogramming
process.

reference with test program:
http://kerneltrap.org/mailarchive/linux-netdev/2009/3/14/5160514/thread

Thanks to Dave Boutcher for his report and test program.

This driver fix prepares an array all at once in memory and programs it in
one shot to the hardware, not requiring an "erase" cycle.  It would still
be possible for packets to be dropped while the receiver is off during
reprogramming.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
CC: Dave Boutcher <daveboutcher@gmail.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-26 01:09:59 -07:00
..
82571.c e1000e: add support for 82583 device id 2009-03-20 01:17:18 -07:00
defines.h e1000e: Disable dynamic clock gating for 82571 per si errata. 2009-02-10 17:00:27 -08:00
e1000.h e1000e: add support for 82583 device id 2009-03-20 01:17:18 -07:00
es2lan.c drivers/net/e1000e: fix sparse warnings: make symbols static 2008-12-26 00:00:37 -08:00
ethtool.c e1000e: add support for 82583 device id 2009-03-20 01:17:18 -07:00
hw.h e1000e: add support for 82574 device ID 0x10F6 2009-03-24 23:28:02 -07:00
ich8lan.c e1000e: Remove mutex_trylock and associated WARN on failure. 2009-02-14 23:46:10 -08:00
lib.c e1000e: fix loss of multicast packets 2009-03-26 01:09:59 -07:00
Makefile e1000e: reformat comment blocks, cosmetic changes only 2008-03-28 22:14:56 -04:00
netdev.c e1000e: commonize tx cleanup routine to match e1000 & igb 2009-03-26 01:09:58 -07:00
param.c e1000e: fix IPMI traffic 2008-11-16 19:05:16 -08:00
phy.c e1000e: sync change flow control variables with ixgbe 2008-11-21 16:57:36 -08:00