xennet_set_tso(dev, 1);
}
+static void netfront_get_drvinfo(struct net_device *dev,
+ struct ethtool_drvinfo *info)
+{
+ strcpy(info->driver, "netfront");
+ strcpy(info->bus_info, dev_name(dev->dev.parent));
+}
+
static int network_connect(struct net_device *dev)
{
struct netfront_info *np = netdev_priv(dev);
static struct ethtool_ops network_ethtool_ops =
{
+ .get_drvinfo = netfront_get_drvinfo,
.get_tx_csum = ethtool_op_get_tx_csum,
.set_tx_csum = ethtool_op_set_tx_csum,
.get_sg = ethtool_op_get_sg,