]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd02a9a07d09ad8209baffbb6d0c8bb0c549ec4d
treed986c8d1a9f3f006c4a4a283a49d42a5bfa2a2a6
parentedb66e78256fa4c00b0622c0ee3cc680a874c528
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