aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2022-04-27 20:30:17 +0000
committerJakub Kicinski <[email protected]>2022-04-28 16:45:48 +0000
commit66a2f5ef68faaf950746747d790a0c95f7ec96d2 (patch)
tree4084c1686802bf159586fca0d1f1267c1547f280 /net/ipv4/tcp_output.c
parentixgbe: ensure IPsec VF<->PF compatibility (diff)
downloadkernel-66a2f5ef68faaf950746747d790a0c95f7ec96d2.tar.gz
kernel-66a2f5ef68faaf950746747d790a0c95f7ec96d2.zip
net: enetc: allow tc-etf offload even with NETIF_F_CSUM_MASK
The Time-Specified Departure feature is indeed mutually exclusive with TX IP checksumming in ENETC, but TX checksumming in itself is broken and was removed from this driver in commit 82728b91f124 ("enetc: Remove Tx checksumming offload code"). The blamed commit declared NETIF_F_HW_CSUM in dev->features to comply with software TSO's expectations, and still did the checksumming in software by calling skb_checksum_help(). So there isn't any restriction for the Time-Specified Departure feature. However, enetc_setup_tc_txtime() doesn't understand that, and blindly looks for NETIF_F_CSUM_MASK. Instead of checking for things which can literally never happen in the current code base, just remove the check and let the driver offload tc-etf qdiscs. Fixes: acede3c5dad5 ("net: enetc: declare NETIF_F_HW_CSUM and do it in software") Signed-off-by: Vladimir Oltean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions