Hi,

> -----Original Message-----
> From: jiangheng (G) <jianghen...@huawei.com>
> Sent: Thursday, April 13, 2023 3:58 AM
> To: Slava Ovsiienko <viachesl...@nvidia.com>; dev@dpdk.org; Matan Azrad
> <ma...@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: sta...@dpdk.org
> 
> Signed-off-by: jiangheng <jianghen...@huawei.com>
Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to