search for: netbk_set_tso

Displaying 1 result from an estimated 1 matches for "netbk_set_tso".

2009 Feb 05
0
[PATCH] netback: add ethtool stat to track copied skbs
...head list; /* scheduling list */ atomic_t refcnt; diff -r 4f998fd102e2 -r 7a24febd95d5 drivers/xen/netback/interface.c --- a/drivers/xen/netback/interface.c Wed Feb 04 12:26:00 2009 +0000 +++ b/drivers/xen/netback/interface.c Thu Feb 05 15:11:35 2009 +0000 @@ -116,8 +116,51 @@ static int netbk_set_tso(struct net_devi return ethtool_op_set_tso(dev, data); } +static void netbk_get_drvinfo(struct net_device *dev, + struct ethtool_drvinfo *info) +{ + strcpy(info->driver, "netbk"); +} + +static const struct netif_stat { + char name[ETH_GSTRING_LEN]; + u16 offset; +} netbk_st...