Thread (36 messages) flat view 36 messages, 5 authors, 2022-03-08

Re: [PATCH v2 net-next 14/14] mlx5: support BIG TCP packets

From: Tariq Toukan <hidden>
Date: 2022-03-08 16:02:14


On 3/3/2022 8:16 PM, Eric Dumazet wrote:
From: Coco Li <redacted>

mlx5 supports LSOv2.

IPv6 gro/tcp stacks insert a temporary Hop-by-Hop header
with JUMBO TLV for big packets.

We need to ignore/skip this HBH header when populating TX descriptor.

Note that ipv6_has_hopopt_jumbo() only recognizes very specific packet
layout, thus mlx5e_sq_xmit_wqe() is taking care of this layout only.

v2: clear hopbyhop in mlx5e_tx_get_gso_ihs()

Signed-off-by: Coco Li <redacted>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Saeed Mahameed <saeedm@nvidia.com>
Cc: Leon Romanovsky <leon@kernel.org>
---
  .../net/ethernet/mellanox/mlx5/core/en_main.c |  1 +
  .../net/ethernet/mellanox/mlx5/core/en_tx.c   | 82 +++++++++++++++----
  2 files changed, 67 insertions(+), 16 deletions(-)
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help