net/mlx5e: kTLS, Size of a Dump WQE is fixed
authorTariq Toukan <tariqt@mellanox.com>
Sun, 1 Sep 2019 10:53:26 +0000 (13:53 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 18 Oct 2019 19:11:51 +0000 (12:11 -0700)
commit9b1fef2f23c1141c9936debe633ff16e44c6137b
treeb15390b5f2dbbeb5d5a0cb71b6d86b72328db371
parent2c559361389b452ca23494080d0c65ab812706c1
net/mlx5e: kTLS, Size of a Dump WQE is fixed

No Eth segment, so no dynamic inline headers.
The size of a Dump WQE is fixed, use constants and remove
unnecessary checks.

Fixes: d2ead1f360e8 ("net/mlx5e: Add kTLS TX HW offload support")
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/txrx.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c