Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'mlx5-add-tso-support-for-udp-over-gre-over-vlan'

Mark Bloch says:

====================
mlx5: Add TSO support for UDP over GRE over VLAN

The following 3 small patches by Gal add support for TSO for
UDP over GRE over VLAN packets.
====================

Link: https://patch.msgid.link/20260107091848.621884-1-mbloch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

+3 -2
+3 -2
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
··· 5798 5798 NETIF_F_GSO_GRE_CSUM; 5799 5799 netdev->hw_enc_features |= NETIF_F_GSO_GRE | 5800 5800 NETIF_F_GSO_GRE_CSUM; 5801 - netdev->gso_partial_features |= NETIF_F_GSO_GRE | 5802 - NETIF_F_GSO_GRE_CSUM; 5801 + netdev->gso_partial_features |= NETIF_F_GSO_GRE_CSUM; 5802 + netdev->vlan_features |= NETIF_F_GSO_GRE | NETIF_F_GSO_GRE_CSUM; 5803 5803 } 5804 5804 5805 5805 if (mlx5e_tunnel_proto_supported_tx(mdev, IPPROTO_IPIP)) { ··· 5813 5813 5814 5814 netdev->gso_partial_features |= NETIF_F_GSO_UDP_L4; 5815 5815 netdev->hw_features |= NETIF_F_GSO_UDP_L4; 5816 + netdev->hw_enc_features |= NETIF_F_GSO_UDP_L4; 5816 5817 5817 5818 mlx5_query_port_fcs(mdev, &fcs_supported, &fcs_enabled); 5818 5819