aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-05-13 11:34:08 -0700
committerDavid S. Miller <davem@davemloft.net>2022-05-16 10:18:56 +0100
commitde78960e025f0f361db76f90de609ca2c26d1366 (patch)
treef677e03a56c15c8f30fa099bc7032298fd114b89 /include/net/ip.h
parentmlx4: support BIG TCP packets (diff)
downloadlinux-dev-de78960e025f0f361db76f90de609ca2c26d1366.tar.xz
linux-dev-de78960e025f0f361db76f90de609ca2c26d1366.zip
mlx5: support BIG TCP packets
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. v7: adopt unsafe_memcpy() and MLX5_UNSAFE_MEMCPY_DISCLAIMER v2: clear hopbyhop in mlx5e_tx_get_gso_ihs() v4: fix compile error for CONFIG_MLX5_CORE_IPOIB=y Signed-off-by: Coco Li <lixiaoyan@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Cc: Saeed Mahameed <saeedm@nvidia.com> Cc: Leon Romanovsky <leon@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions