]> 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)
commitf40dbadd3b3ce98c95261fb49375e8c6733fc125
treeb15390b5f2dbbeb5d5a0cb71b6d86b72328db371
parent9d9fbdeda4e719dff9690a4d710ddf9c499286ed
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: 78c1118ca47b ("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