linux_dsm_epyc7002/drivers/net/vxge
Sreenivasa Honnur 18dec74c16 vxge: Fix a receive stall due to driver being out of synch with chip.
- Fix a receive stall due to driver being out of synch with chip. In a corner
case scenario the adapter's ring controller may return a RxD with transfer code
of 0xC, while the host ownership bit is still set to the adapter. The driver
needs to assume that this case where (host_ownership == 1 or adapter) and
(transfer_code == 0xC) is valid, that is, this RxD has been returned by the
receive ring controller but no frame data is associated with the rxd.

- Restore the transfer code field of each newly replenished RxD to 0x0.

- Code cleanup. Removed usage of magic numbers.

Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-03-29 16:57:20 -07:00
..
Makefile Neterion: New driver: Kconfig and Makefile 2009-04-02 00:33:46 -07:00
vxge-config.c vxge: Allow multiple functions with INTA. 2009-10-06 15:22:55 -07:00
vxge-config.h vxge: Check if FCS stripping is disabled by the firmware. 2009-10-06 15:22:54 -07:00
vxge-ethtool.c Neterion: New driver: Ethtool related 2009-04-02 00:33:44 -07:00
vxge-ethtool.h Neterion: New driver: Ethtool related 2009-04-02 00:33:44 -07:00
vxge-main.c net/various: remove trailing space in messages 2010-03-24 14:10:38 -07:00
vxge-main.h vxge: Allow multiple functions with INTA. 2009-10-06 15:22:55 -07:00
vxge-reg.h vxge: Removed accessing non-supported registers. 2009-10-06 15:22:52 -07:00
vxge-traffic.c vxge: Fix a receive stall due to driver being out of synch with chip. 2010-03-29 16:57:20 -07:00
vxge-traffic.h vxge: Fix a receive stall due to driver being out of synch with chip. 2010-03-29 16:57:20 -07:00
vxge-version.h vxge: Configure the number of transmit descriptors per packet to MAX_SKB_FRAGS + 1. 2009-10-28 02:46:54 -07:00