diff options
author | Sean Anderson <sean.anderson@linux.dev> | 2024-08-20 13:53:41 -0400 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-21 17:49:20 -0700 |
commit | d70e3788da1d335449ba91dd46f7c3e16b01aaae (patch) | |
tree | 6500cb478d49d166e01bcb5b49bca919efdbd364 /drivers/fpga/xilinx-spi.c | |
parent | 74b1e94e94ea369923e5656eeb10b26b16591327 (diff) |
net: xilinx: axienet: Report RxRject as rx_dropped
The Receive Frame Rejected interrupt is asserted whenever there was a
receive error (bad FCS, bad length, etc.) or whenever the frame was
dropped due to a mismatched address. So this is really a combination of
rx_otherhost_dropped, rx_length_errors, rx_frame_errors, and
rx_crc_errors. Mismatched addresses are common and aren't really errors
at all (much like how fragments are normal on half-duplex links). To
avoid confusion, report these events as rx_dropped. This better
reflects what's going on: the packet was received by the MAC but dropped
before being processed.
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://patch.msgid.link/20240820175343.760389-2-sean.anderson@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions