Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a17d8c7 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by David S. Miller
Browse files

ixgbe: use NETIF_F_LRO



Both ETH_FLAG_LRO and NETIF_F_LRO have the same value, but NETIF_F_LRO
is intended to use with netdev->features.

Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Acked-by: default avatarDon Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent de42edde
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2237,7 +2237,7 @@ static int ixgbe_set_flags(struct net_device *netdev, u32 data)
				break;
			}
		} else if (!adapter->rx_itr_setting) {
			netdev->features &= ~ETH_FLAG_LRO;
			netdev->features &= ~NETIF_F_LRO;
			if (data & ETH_FLAG_LRO)
				e_info("rx-usecs set to 0, "
					"LRO/RSC cannot be enabled.\n");