net/mlx5e: TX, Inline function mlx5e_tls_handle_tx_wqe()
authorTariq Toukan <tariqt@nvidia.com>
Tue, 16 Feb 2021 10:27:57 +0000 (12:27 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 16 Apr 2021 18:48:05 +0000 (11:48 -0700)
commit72f6f2f8d6aa213a85b69a0f0ca2c6f4f80aa85e
treeb12bb80ca9fbdda7e5705256e605834787c074c9
parentb6b3ad2175c852557c06fb52ed533e35a143fb72
net/mlx5e: TX, Inline function mlx5e_tls_handle_tx_wqe()

When TLS is supported, WQE ctrl segment of every transmitted packet
is updated with the (possibly empty, for non-TLS packets) TISN field.

Take this one-liner function into the header file and inline it,
to save the overhead of a function call per packet.

While here, remove unused function parameter.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.h