On Wed, 17 Jun 2020 11:48:18 -0700 Eric Dumazet wrote: > 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. > > Signed-off-by: Eric Dumazet <eduma...@google.com>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c: In function otx2_sq_append_tso: drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:631:6: warning: hdr_len is used uninitialized in this function [-Wuninitialized] 631 | if (otx2_dma_map_tso_skb(pfvf, sq, skb, first_sqe, hdr_len)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~