mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
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>
This commit is contained in:
commit
6c7ff659d8
|
|
@ -5798,8 +5798,8 @@ static void mlx5e_build_nic_netdev(struct net_device *netdev)
|
|||
NETIF_F_GSO_GRE_CSUM;
|
||||
netdev->hw_enc_features |= NETIF_F_GSO_GRE |
|
||||
NETIF_F_GSO_GRE_CSUM;
|
||||
netdev->gso_partial_features |= NETIF_F_GSO_GRE |
|
||||
NETIF_F_GSO_GRE_CSUM;
|
||||
netdev->gso_partial_features |= NETIF_F_GSO_GRE_CSUM;
|
||||
netdev->vlan_features |= NETIF_F_GSO_GRE | NETIF_F_GSO_GRE_CSUM;
|
||||
}
|
||||
|
||||
if (mlx5e_tunnel_proto_supported_tx(mdev, IPPROTO_IPIP)) {
|
||||
|
|
@ -5813,6 +5813,7 @@ static void mlx5e_build_nic_netdev(struct net_device *netdev)
|
|||
|
||||
netdev->gso_partial_features |= NETIF_F_GSO_UDP_L4;
|
||||
netdev->hw_features |= NETIF_F_GSO_UDP_L4;
|
||||
netdev->hw_enc_features |= NETIF_F_GSO_UDP_L4;
|
||||
|
||||
mlx5_query_port_fcs(mdev, &fcs_supported, &fcs_enabled);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user