]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit508b19ae97a130c0c589c5c903611b91dc7631d6
treeb15390b5f2dbbeb5d5a0cb71b6d86b72328db371
parenteef36b93ba2e935388cb93a66f5a6d67475d7340
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: 3e985319cc11 ("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