linux/drivers/net/ethernet/cavium/thunder
Eric Dumazet 761b331cb6 net: tso: cache transport header length
Add tlen field into struct tso_t, and change tso_start()
to return skb_transport_offset(skb) + tso->tlen

This removes from callers the need to use tcp_hdrlen(skb) and
will ease UDP segmentation offload addition.

v2: calls tso_start() earlier in otx2_sq_append_tso() [Jakub]

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-18 20:46:23 -07:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206 2019-05-30 11:29:53 -07:00
nic_main.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206 2019-05-30 11:29:53 -07:00
nic_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206 2019-05-30 11:29:53 -07:00
nicvf_ethtool.c net/cavium: Clean driver versions 2020-03-03 17:54:54 -08:00
nicvf_main.c net: thunderx: Add XDP frame size 2020-05-14 21:21:55 -07:00
nicvf_queues.c net: tso: cache transport header length 2020-06-18 20:46:23 -07:00
nicvf_queues.h net: thunderx: Adjust CQE_RX drop levels for better performance 2020-03-02 11:13:58 -08:00
q_struct.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206 2019-05-30 11:29:53 -07:00
thunder_bgx.c net: thunderx: workaround BGX TX Underflow issue 2020-02-20 15:49:20 -08:00
thunder_bgx.h net: thunderx: workaround BGX TX Underflow issue 2020-02-20 15:49:20 -08:00
thunder_xcv.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206 2019-05-30 11:29:53 -07:00