net/mlx5e: Tx, Enforce L4 inline copy when needed
authorTariq Toukan <tariqt@mellanox.com>
Fri, 5 Jul 2019 15:30:16 +0000 (18:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jul 2019 23:29:19 +0000 (16:29 -0700)
commit740114a87e43a4ceb9ff5ff3a4a704bcef1f60be
treed986c8d1a9f3f006c4a4a283a49d42a5bfa2a2a6
parent542578c6793698a98cd0b7c77a96b8c6bfdfcb88
net/mlx5e: Tx, Enforce L4 inline copy when needed

When ctrl->tisn field exists, this indicates an operation (HW offload)
on the TCP payload.
For such WQEs, inline the headers up to L4.

This is in preparation for kTLS HW offload support, added in
a downstream patch.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c