Re: [dpdk-dev] [PATCH v3 7/7] net/mlx4: remove empty Tx segment support

2017-10-30 Thread Adrien Mazarguil
On Mon, Oct 30, 2017 at 10:07:29AM +, Matan Azrad wrote: > Move empty segment case processing to debug mode. > > Signed-off-by: Matan Azrad Whoa, I think there's a misunderstanding here. Nothing prevents applications from attempting to send zero-length segments, and the PMD must survive this

[dpdk-dev] [PATCH v3 7/7] net/mlx4: remove empty Tx segment support

2017-10-30 Thread Matan Azrad
Move empty segment case processing to debug mode. Signed-off-by: Matan Azrad --- drivers/net/mlx4/mlx4_rxtx.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/mlx4/mlx4_rxtx.c b/drivers/net/mlx4/mlx4_rxtx.c index 482c399..c005a41 100644 --- a/drivers/net/m