linux_dsm_epyc7002/drivers/net/ethernet/atheros
Andrea Merello 40dc9ab277 atl1e: enable support for NETIF_F_RXALL and NETIF_F_RXCRC features
This patch allows (optionally, via ethtool) the atl1e NIC to:
- Receive bad frames (runt, bad-fcs, etc..)
- Receive full frames without stripping the FCS.

This has been tested on my board by injecting runt and bad-fcs
frames with a FPGA-based device.

The particular scenario of receiving very short frames (<4 bytes)
without passing FCS to the upper layer has been also tested:
This could be potentially dangerous because the driver performs a
4 byte subtraction on the frame length, but I finally have NOT
added anything to avoid this because it seems the NIC always
discards frames so much short..
If someone still have some reason to worry about this, please
tell me.. I will add an explicit SW check..

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-03 17:01:12 -04:00
..
alx alx: remove redundant D0 power state set 2013-09-13 20:10:41 -04:00
atl1c net: atl1c: Change variable type to bool 2013-10-03 15:40:33 -04:00
atl1e atl1e: enable support for NETIF_F_RXALL and NETIF_F_RXCRC features 2013-10-03 17:01:12 -04:00
atlx atheros: Remove extern from function prototypes 2013-09-24 10:09:27 -04:00
Kconfig alx: remove NET_CORE Kconfig select 2013-07-01 13:18:19 -07:00
Makefile alx: add a simple AR816x/AR817x device driver 2013-06-17 16:04:34 -07:00