Message ID | 20220518063427.123758-6-saeed@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 15a5078cab30d7aa02ad14bfadebf247d95fc239 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,01/11] net/mlx5: DR, Fix missing flow_source when creating multi-destination FW table | expand |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c index 2f1dedc721d1..999241961714 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c @@ -3864,6 +3864,10 @@ static netdev_features_t mlx5e_fix_uplink_rep_features(struct net_device *netdev if (netdev->features & NETIF_F_NTUPLE) netdev_warn(netdev, "Disabling ntuple, not supported in switchdev mode\n"); + features &= ~NETIF_F_GRO_HW; + if (netdev->features & NETIF_F_GRO_HW) + netdev_warn(netdev, "Disabling HW_GRO, not supported in switchdev mode\n"); + return features; }