net/mlx4: fix missing stamp during Tx completion
authorMatan Azrad <matan@mellanox.com>
Fri, 10 Nov 2017 08:27:18 +0000 (08:27 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 11 Nov 2017 14:54:16 +0000 (15:54 +0100)
commit46d7b08b9162e6c896a9fa2b29b362ce7e8b1be8
treeb44f646921a121f20332c8dc31a9be01f832272a
parent9a82633c27cdfbc33e34876dff41abdbfa71bb97
net/mlx4: fix missing stamp during Tx completion

After processing completed packets, the owner bit of each TXBB comprised
in its WQEs must be invalidated. The loop stops short of processing the
last WQE.

Fixes: c3c977bbecbd ("net/mlx4: add Tx bypassing Verbs")

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4_rxtx.c