]> git.dujemihanovic.xyz Git - linux.git/commit
net: xilinx: axienet: Enable NETIF_F_HW_CSUM for partial tx checksumming
authorSean Anderson <sean.anderson@linux.dev>
Mon, 9 Sep 2024 16:10:14 +0000 (12:10 -0400)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Sep 2024 01:34:51 +0000 (18:34 -0700)
commitdd28f4c0e81f42ba998462db0d117d93af5b7cb8
tree6abfe2a358901341f36f2e525a3b71dbe139aba1
parentb1e455cd864c9a29a84673255715154374c76ab6
net: xilinx: axienet: Enable NETIF_F_HW_CSUM for partial tx checksumming

Partial tx chechsumming is completely generic and does not depend on the
L3/L4 protocol. Signal this to the net subsystem by enabling the
more-generic offload feature (instead of restricting ourselves to
TCP/UDP over IPv4 checksumming only like is necessary with full
checksumming).

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