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

2017-09-18 Thread Nélio Laranjeiro
On Sun, Sep 17, 2017 at 11:12:49AM +0300, Shahaf Shuler wrote: > TSO segment size must be larger then 0. > > Fixes: 3f13f8c23a7c ("net/mlx5: support hardware TSO") > Cc: sta...@dpdk.org > > Signed-off-by: Shahaf Shuler > Acked-by: Yongseok Koh Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6

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

2017-09-17 Thread Shahaf Shuler
TSO segment size must be larger then 0. Fixes: 3f13f8c23a7c ("net/mlx5: support hardware TSO") Cc: sta...@dpdk.org Signed-off-by: Shahaf Shuler Acked-by: Yongseok Koh --- drivers/net/mlx5/mlx5_rxtx.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_

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

2017-06-21 Thread Ferruh Yigit
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. >

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

2017-06-20 Thread Nélio Laranjeiro
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 se

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

2017-06-19 Thread Shahaf Shuler
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: sta...