[dpdk-dev] [PATCH] net/mlx5: fix inlining segmented TSO packet

Yongseok Koh yskoh at mellanox.com
Fri May 11 05:34:56 CEST 2018


> On May 10, 2018, at 5:50 PM, Yongseok Koh <yskoh at mellanox.com> wrote:
> 
> When a multi-segmented packet is inlined, data can be further inlined even
> after the first segment. In case of TSO packet, extra inline data after TSO
> header should be carried by an inline DSEG which has 4B inline header
> recording the length of the inline data. If more than one segment is
> inlined, the length doesn't count from the second segment. This will cause
> a fault in HW and CQE will have an error, which is ignored by PMD.
> 
> Fixes: f895536be4fa ("net/mlx5: enable inlining data from multiple segments")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>

Shahaf,

If you apply this patch, please amend the signed-off-by tag.
I should've added Xueming as he found it for the first time.

> Signed-off-by: Xueming Li <xuemingl at mellanox.com>
> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>


Thanks,
Yongseok


More information about the dev mailing list