OSDN Git Service

net/mlx5e: Tx, Fix assumption of single WQEBB of NOP in cleanup flow
authorTariq Toukan <tariqt@mellanox.com>
Mon, 16 Sep 2019 14:43:33 +0000 (17:43 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 18 Oct 2019 19:11:51 +0000 (12:11 -0700)
commit0c258dec8d98af15b34dbffdb89c008b6da01ff8
tree82b4cec305b7077f87397e2caa354488e0504006
parent38b4fe320119859c11b1dc06f6b4987a16344fa1
net/mlx5e: Tx, Fix assumption of single WQEBB of NOP in cleanup flow

Cited patch removed the assumption only in datapath.
Here we remove it also form control/cleanup flow.

Fixes: 9ab0233728ca ("net/mlx5e: Tx, Don't implicitly assume SKB-less wqe has one WQEBB")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c