linux_dsm_epyc7002/drivers/net/benet
Sathya Perla 482c9e7987 be2net: create/destroy rx-queues on interface open/close
On some skews, the BE card sends pause frames (and not drop pkts) if there are
no more posted buffers available for packet reception.  This behaviour has a
side effect: When an interface is disabled, buffers are no longer posted on the
corresponding RX rings. All broadcast and multicast traffic being received on
the port will quickly fill up the PMEM and cause pause push back. As the PMEM
is shared by both the ports, all traffic being received on the other (enabled)
port also gets stalled.
The fix is to destroy RX rings when the interface is disabled. If there is no
RX ring match in the RXF lookup, the packets are discarded and so don't hog the
PMEM.
The RXQ creation cmd must now use MCC instead of MBOX as they are are called
post MCC queue creation.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-06-30 22:32:50 -07:00
..
be_cmds.c be2net: create/destroy rx-queues on interface open/close 2011-06-30 22:32:50 -07:00
be_cmds.h be2net: create/destroy rx-queues on interface open/close 2011-06-30 22:32:50 -07:00
be_ethtool.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
be_hw.h be2net: Support for FAT dump retrieval using ethtool --register-dump option 2011-03-30 21:39:19 -07:00
be_main.c be2net: create/destroy rx-queues on interface open/close 2011-06-30 22:32:50 -07:00
be.h net: Remove unneeded version.h includes from drivers/net/ 2011-06-24 02:40:08 -07:00
Kconfig be2net: remove ASIC generation number from Kconfig 2010-02-12 12:28:00 -08:00
Makefile net: Add be2net driver. 2009-03-11 23:32:22 -07:00