diff options
author | Andrea Merello <andrea.merello@gmail.com> | 2013-10-03 23:18:37 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-04 01:01:12 +0400 |
commit | 40dc9ab277eb3d2d3d3442c20accb5dfa577e680 (patch) | |
tree | 0b727a07d6743e755458822283d45b8c4f4260fb /net/ipv4 | |
parent | 1d3d59108e53ce9815651ee20633506d559bacf6 (diff) | |
download | linux-40dc9ab277eb3d2d3d3442c20accb5dfa577e680.tar.xz |
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>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions