[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200617170303.4fb4d0b1@kicinski-fedora-PC1C0HJN>
Date: Wed, 17 Jun 2020 17:03:03 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Eric Dumazet <eric.dumazet@...il.com>,
Willem de Bruijn <willemb@...gle.com>,
Antoine Tenart <antoine.tenart@...tlin.com>
Subject: Re: [PATCH net-next 4/5] net: tso: cache transport header length
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 <edumazet@...gle.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)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Powered by blists - more mailing lists