macb: Remove bogus reference to NETIF_F_UFO.
authorDavid S. Miller <davem@davemloft.net>
Mon, 3 Jul 2017 13:31:05 +0000 (06:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2017 16:52:57 +0000 (09:52 -0700)
This driver doesn't actually support UFO explicitly yet
it advertises this in netdev->features.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c

index 26d25749c3e41c79b8e0f47ea32e0fb0fe3a657e..6df2cad61647a6d7067df5c30371fbd6eda17923 100644 (file)
@@ -68,7 +68,7 @@
 #define GEM_MAX_TX_LEN         ((unsigned int)((1 << GEM_TX_FRMLEN_SIZE) - 1) & ~((unsigned int)(MACB_TX_LEN_ALIGN - 1)))
 
 #define GEM_MTU_MIN_SIZE       ETH_MIN_MTU
-#define MACB_NETIF_LSO         (NETIF_F_TSO | NETIF_F_UFO)
+#define MACB_NETIF_LSO         NETIF_F_TSO
 
 #define MACB_WOL_HAS_MAGIC_PACKET      (0x1 << 0)
 #define MACB_WOL_ENABLED               (0x1 << 1)