Skip to content

Commit 08a00fe

Browse files
committed
net: Remove references to NETIF_F_UFO from ethtool.
It is going away. Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent d4c023f commit 08a00fe

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

net/core/ethtool.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ static const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN]
7676
[NETIF_F_LRO_BIT] = "rx-lro",
7777

7878
[NETIF_F_TSO_BIT] = "tx-tcp-segmentation",
79-
[NETIF_F_UFO_BIT] = "tx-udp-fragmentation",
8079
[NETIF_F_GSO_ROBUST_BIT] = "tx-gso-robust",
8180
[NETIF_F_TSO_ECN_BIT] = "tx-tcp-ecn-segmentation",
8281
[NETIF_F_TSO_MANGLEID_BIT] = "tx-tcp-mangleid-segmentation",
@@ -299,9 +298,6 @@ static netdev_features_t ethtool_get_feature_mask(u32 eth_cmd)
299298
case ETHTOOL_GTSO:
300299
case ETHTOOL_STSO:
301300
return NETIF_F_ALL_TSO;
302-
case ETHTOOL_GUFO:
303-
case ETHTOOL_SUFO:
304-
return NETIF_F_UFO;
305301
case ETHTOOL_GGSO:
306302
case ETHTOOL_SGSO:
307303
return NETIF_F_GSO;
@@ -2555,7 +2551,6 @@ int dev_ethtool(struct net *net, struct ifreq *ifr)
25552551
case ETHTOOL_GPHYSTATS:
25562552
case ETHTOOL_GTSO:
25572553
case ETHTOOL_GPERMADDR:
2558-
case ETHTOOL_GUFO:
25592554
case ETHTOOL_GGSO:
25602555
case ETHTOOL_GGRO:
25612556
case ETHTOOL_GFLAGS:
@@ -2723,7 +2718,6 @@ int dev_ethtool(struct net *net, struct ifreq *ifr)
27232718
case ETHTOOL_GRXCSUM:
27242719
case ETHTOOL_GSG:
27252720
case ETHTOOL_GTSO:
2726-
case ETHTOOL_GUFO:
27272721
case ETHTOOL_GGSO:
27282722
case ETHTOOL_GGRO:
27292723
rc = ethtool_get_one_feature(dev, useraddr, ethcmd);
@@ -2732,7 +2726,6 @@ int dev_ethtool(struct net *net, struct ifreq *ifr)
27322726
case ETHTOOL_SRXCSUM:
27332727
case ETHTOOL_SSG:
27342728
case ETHTOOL_STSO:
2735-
case ETHTOOL_SUFO:
27362729
case ETHTOOL_SGSO:
27372730
case ETHTOOL_SGRO:
27382731
rc = ethtool_set_one_feature(dev, useraddr, ethcmd);

0 commit comments

Comments
 (0)