Commit 08a00fea authored by David S. Miller's avatar David S. Miller

net: Remove references to NETIF_F_UFO from ethtool.

It is going away.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d4c023f4
...@@ -76,7 +76,6 @@ static const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] ...@@ -76,7 +76,6 @@ static const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN]
[NETIF_F_LRO_BIT] = "rx-lro", [NETIF_F_LRO_BIT] = "rx-lro",
[NETIF_F_TSO_BIT] = "tx-tcp-segmentation", [NETIF_F_TSO_BIT] = "tx-tcp-segmentation",
[NETIF_F_UFO_BIT] = "tx-udp-fragmentation",
[NETIF_F_GSO_ROBUST_BIT] = "tx-gso-robust", [NETIF_F_GSO_ROBUST_BIT] = "tx-gso-robust",
[NETIF_F_TSO_ECN_BIT] = "tx-tcp-ecn-segmentation", [NETIF_F_TSO_ECN_BIT] = "tx-tcp-ecn-segmentation",
[NETIF_F_TSO_MANGLEID_BIT] = "tx-tcp-mangleid-segmentation", [NETIF_F_TSO_MANGLEID_BIT] = "tx-tcp-mangleid-segmentation",
...@@ -299,9 +298,6 @@ static netdev_features_t ethtool_get_feature_mask(u32 eth_cmd) ...@@ -299,9 +298,6 @@ static netdev_features_t ethtool_get_feature_mask(u32 eth_cmd)
case ETHTOOL_GTSO: case ETHTOOL_GTSO:
case ETHTOOL_STSO: case ETHTOOL_STSO:
return NETIF_F_ALL_TSO; return NETIF_F_ALL_TSO;
case ETHTOOL_GUFO:
case ETHTOOL_SUFO:
return NETIF_F_UFO;
case ETHTOOL_GGSO: case ETHTOOL_GGSO:
case ETHTOOL_SGSO: case ETHTOOL_SGSO:
return NETIF_F_GSO; return NETIF_F_GSO;
...@@ -2555,7 +2551,6 @@ int dev_ethtool(struct net *net, struct ifreq *ifr) ...@@ -2555,7 +2551,6 @@ int dev_ethtool(struct net *net, struct ifreq *ifr)
case ETHTOOL_GPHYSTATS: case ETHTOOL_GPHYSTATS:
case ETHTOOL_GTSO: case ETHTOOL_GTSO:
case ETHTOOL_GPERMADDR: case ETHTOOL_GPERMADDR:
case ETHTOOL_GUFO:
case ETHTOOL_GGSO: case ETHTOOL_GGSO:
case ETHTOOL_GGRO: case ETHTOOL_GGRO:
case ETHTOOL_GFLAGS: case ETHTOOL_GFLAGS:
...@@ -2723,7 +2718,6 @@ int dev_ethtool(struct net *net, struct ifreq *ifr) ...@@ -2723,7 +2718,6 @@ int dev_ethtool(struct net *net, struct ifreq *ifr)
case ETHTOOL_GRXCSUM: case ETHTOOL_GRXCSUM:
case ETHTOOL_GSG: case ETHTOOL_GSG:
case ETHTOOL_GTSO: case ETHTOOL_GTSO:
case ETHTOOL_GUFO:
case ETHTOOL_GGSO: case ETHTOOL_GGSO:
case ETHTOOL_GGRO: case ETHTOOL_GGRO:
rc = ethtool_get_one_feature(dev, useraddr, ethcmd); rc = ethtool_get_one_feature(dev, useraddr, ethcmd);
...@@ -2732,7 +2726,6 @@ int dev_ethtool(struct net *net, struct ifreq *ifr) ...@@ -2732,7 +2726,6 @@ int dev_ethtool(struct net *net, struct ifreq *ifr)
case ETHTOOL_SRXCSUM: case ETHTOOL_SRXCSUM:
case ETHTOOL_SSG: case ETHTOOL_SSG:
case ETHTOOL_STSO: case ETHTOOL_STSO:
case ETHTOOL_SUFO:
case ETHTOOL_SGSO: case ETHTOOL_SGSO:
case ETHTOOL_SGRO: case ETHTOOL_SGRO:
rc = ethtool_set_one_feature(dev, useraddr, ethcmd); rc = ethtool_set_one_feature(dev, useraddr, ethcmd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment