DPDK patches and discussions
 help / color / mirror / Atom feed
From: Raslan Darawsheh <rasland@nvidia.com>
To: "jiangheng (G)" <jiangheng14@huawei.com>,
	Slava Ovsiienko <viacheslavo@nvidia.com>,
	"dev@dpdk.org" <dev@dpdk.org>, Matan Azrad <matan@nvidia.com>
Subject: RE: [PATCH v2] net/mlx5: fix lro update tcp header cksum error
Date: Tue, 18 Jul 2023 11:58:59 +0000	[thread overview]
Message-ID: <BYAPR12MB307845D53ED5DCD15EBBA937CF38A@BYAPR12MB3078.namprd12.prod.outlook.com> (raw)
In-Reply-To: <46433ee3531547aebf906e4144c520d1@huawei.com>

Hi,

> -----Original Message-----
> From: jiangheng (G) <jiangheng14@huawei.com>
> Sent: Thursday, April 13, 2023 3:58 AM
> To: Slava Ovsiienko <viacheslavo@nvidia.com>; dev@dpdk.org; Matan Azrad
> <matan@nvidia.com>
> Subject: [PATCH v2] net/mlx5: fix lro update tcp header cksum error
> 
> The variable csum is the sum of three 16 bits integers, the max value is
> 0x2FFFD. The corner case of sum of 3 is 0x1FFFF gives the wrong
> result: 0x1 + 0xFFFF = 0x10000, the upper 16 bits are not 0.
> It must be folded again to ensure that the upper 16 bits are 0.
> 
> Fixes: e4c2a16eb1de ("net/mlx5: handle LRO packets in Rx queue")
> Cc: stable@dpdk.org
> 
> Signed-off-by: jiangheng <jiangheng14@huawei.com>
Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

      parent reply	other threads:[~2023-07-18 11:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-13  0:57 jiangheng (G)
2023-07-13 12:16 ` Thomas Monjalon
2023-07-14  9:10   ` Slava Ovsiienko
2023-07-18 11:58 ` Raslan Darawsheh [this message]

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=BYAPR12MB307845D53ED5DCD15EBBA937CF38A@BYAPR12MB3078.namprd12.prod.outlook.com \
    --to=rasland@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=jiangheng14@huawei.com \
    --cc=matan@nvidia.com \
    --cc=viacheslavo@nvidia.com \
    /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).