diff options
Diffstat (limited to 'drivers/net/loopback.c')
-rw-r--r-- | drivers/net/loopback.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index 2d9663a1c54d..ea0dc451da9c 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c | |||
@@ -129,10 +129,6 @@ static u32 always_on(struct net_device *dev) | |||
129 | 129 | ||
130 | static const struct ethtool_ops loopback_ethtool_ops = { | 130 | static const struct ethtool_ops loopback_ethtool_ops = { |
131 | .get_link = always_on, | 131 | .get_link = always_on, |
132 | .set_tso = ethtool_op_set_tso, | ||
133 | .get_tx_csum = always_on, | ||
134 | .get_sg = always_on, | ||
135 | .get_rx_csum = always_on, | ||
136 | }; | 132 | }; |
137 | 133 | ||
138 | static int loopback_dev_init(struct net_device *dev) | 134 | static int loopback_dev_init(struct net_device *dev) |
@@ -169,9 +165,12 @@ static void loopback_setup(struct net_device *dev) | |||
169 | dev->type = ARPHRD_LOOPBACK; /* 0x0001*/ | 165 | dev->type = ARPHRD_LOOPBACK; /* 0x0001*/ |
170 | dev->flags = IFF_LOOPBACK; | 166 | dev->flags = IFF_LOOPBACK; |
171 | dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; | 167 | dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; |
168 | dev->hw_features = NETIF_F_ALL_TSO | NETIF_F_UFO; | ||
172 | dev->features = NETIF_F_SG | NETIF_F_FRAGLIST | 169 | dev->features = NETIF_F_SG | NETIF_F_FRAGLIST |
173 | | NETIF_F_TSO | 170 | | NETIF_F_ALL_TSO |
171 | | NETIF_F_UFO | ||
174 | | NETIF_F_NO_CSUM | 172 | | NETIF_F_NO_CSUM |
173 | | NETIF_F_RXCSUM | ||
175 | | NETIF_F_HIGHDMA | 174 | | NETIF_F_HIGHDMA |
176 | | NETIF_F_LLTX | 175 | | NETIF_F_LLTX |
177 | | NETIF_F_NETNS_LOCAL; | 176 | | NETIF_F_NETNS_LOCAL; |