]> git.dujemihanovic.xyz Git - linux.git/commit
net: xilinx: axienet: Relax partial rx checksum checks
authorSean Anderson <sean.anderson@linux.dev>
Mon, 9 Sep 2024 16:10:16 +0000 (12:10 -0400)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Sep 2024 01:34:51 +0000 (18:34 -0700)
commit736f0c7a8ec2d1d39aed0b3fb67127a37eb5311b
tree0483934282e7d5ad2b4bb2b84321c885b261cf1e
parent06c069ff2f7013f85bd071e8bfccc4808ac59da4
net: xilinx: axienet: Relax partial rx checksum checks

The partial rx checksum feature computes a checksum over the entire
packet, regardless of the L3 protocol. Remove the check for IPv4.
Additionally, testing with csum.py (from kselftests) shows no anomalies
with 64-byte packets, so we can remove that check as well.

Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240909161016.1149119-5-sean.anderson@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c