From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
To: Heiner Kallweit <hkallweit1@gmail.com>
Cc: David Miller <davem@davemloft.net>,
Jassi Brar <jaswinder.singh@linaro.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net-next v2 10/13] net: socionext: use new helper tcp_v6_gso_csum_prep
Date: Wed, 19 Feb 2020 14:36:31 +0200 [thread overview]
Message-ID: <20200219123631.GA651277@apalos.home> (raw)
In-Reply-To: <6f02ce1c-aef7-6127-1724-72f7eee56810@gmail.com>
On Tue, Feb 18, 2020 at 09:09:17PM +0100, Heiner Kallweit wrote:
> Use new helper tcp_v6_gso_csum_prep in additional network drivers.
>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> ---
> drivers/net/ethernet/socionext/netsec.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/drivers/net/ethernet/socionext/netsec.c b/drivers/net/ethernet/socionext/netsec.c
> index e8224b543..6266926fe 100644
> --- a/drivers/net/ethernet/socionext/netsec.c
> +++ b/drivers/net/ethernet/socionext/netsec.c
> @@ -1148,11 +1148,7 @@ static netdev_tx_t netsec_netdev_start_xmit(struct sk_buff *skb,
> ~tcp_v4_check(0, ip_hdr(skb)->saddr,
> ip_hdr(skb)->daddr, 0);
> } else {
> - ipv6_hdr(skb)->payload_len = 0;
> - tcp_hdr(skb)->check =
> - ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr,
> - &ipv6_hdr(skb)->daddr,
> - 0, IPPROTO_TCP, 0);
> + tcp_v6_gso_csum_prep(skb);
> }
>
> tx_ctrl.tcp_seg_offload_flag = true;
> --
> 2.25.1
>
>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
next prev parent reply other threads:[~2020-02-19 12:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-18 19:55 [PATCH net-next v2 0/13] net: core: add helper tcp_v6_gso_csum_prep Heiner Kallweit
2020-02-18 19:56 ` [PATCH net-next v2 01/13] " Heiner Kallweit
2020-02-18 19:58 ` [PATCH net-next v2 02/13] r8169: use new " Heiner Kallweit
2020-02-18 19:59 ` [PATCH net-next v2 03/13] net: atheros: " Heiner Kallweit
2020-02-18 20:01 ` [PATCH net-next v2 04/13] bna: " Heiner Kallweit
2020-02-18 20:02 ` [PATCH net-next v2 05/13] enic: " Heiner Kallweit
2020-02-18 20:05 ` [PATCH net-next v2 06/13] e1000(e): " Heiner Kallweit
2020-02-18 21:49 ` Jeff Kirsher
2020-02-18 20:06 ` [PATCH net-next v2 07/13] jme: " Heiner Kallweit
2020-02-19 3:53 ` Guo-Fu Tseng
2020-02-18 20:07 ` [PATCH net-next v2 08/13] ionic: " Heiner Kallweit
2020-02-18 22:56 ` Shannon Nelson
2020-02-18 20:08 ` [PATCH net-next v2 09/13] net: qcom/emac: " Heiner Kallweit
2020-02-18 20:09 ` [PATCH net-next v2 10/13] net: socionext: " Heiner Kallweit
2020-02-19 12:36 ` Ilias Apalodimas [this message]
2020-02-18 20:11 ` [PATCH net-next v2 11/13] hv_netvsc: " Heiner Kallweit
2020-02-18 20:12 ` [PATCH net-next v2 12/13] r8152: " Heiner Kallweit
2020-02-19 9:48 ` Hayes Wang
2020-02-18 20:13 ` [PATCH net-next v2 13/13] vmxnet3: " Heiner Kallweit
2020-02-19 19:22 ` [PATCH net-next v2 0/13] net: core: add " David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200219123631.GA651277@apalos.home \
--to=ilias.apalodimas@linaro.org \
--cc=davem@davemloft.net \
--cc=hkallweit1@gmail.com \
--cc=jaswinder.singh@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).