[dpdk-dev] [PATCH] net/mlx5: fix TSO segment size

Ferruh Yigit ferruh.yigit at intel.com
Wed Jun 21 11:57:09 CEST 2017


On 6/20/2017 8:13 AM, Nélio Laranjeiro wrote:
> On Tue, Jun 20, 2017 at 08:24:47AM +0300, Shahaf Shuler wrote:
>> In case on multi segment packet, the TSO segment size
>> was taken from the last segment. This may lead to incorrect
>> values in case not all segments are initialized with the field.
>>
>> Fixing it by taking the value from the first segment.
>>
>> Fixes: 3f13f8c23a7c ("net/mlx5: support hardware TSO")
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Shahaf Shuler <shahafs at mellanox.com>
>> Acked-by: Yongseok Koh <yskoh at mellanox.com>

> Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list