[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110310091555.0fa8764d@nehalam>
Date: Thu, 10 Mar 2011 09:15:55 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: Ian Campbell <Ian.Campbell@...rix.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
xen-devel <xen-devel@...ts.xensource.com>,
Ben Hutchings <bhutchings@...arflare.com>,
Jeremy Fitzhardinge <jeremy@...p.org>,
Herbert Xu <herbert@...dor.apana.org.au>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Francois Romieu <romieu@...zoreil.com>
Subject: Re: [GIT/PATCH v4] xen network backend driver
On Thu, 10 Mar 2011 17:02:33 +0000
Ian Campbell <Ian.Campbell@...rix.com> wrote:
> +struct xenvif {
> + /* Unique identifier for this interface. */
...
> + struct net_device_stats stats;
> +
There is already a stats struct in net_device in current kernel
versions, unless there is a compelling reason otherwise
please use that.
Also, you probably want to implement per-cpu and 64 bit
stats.
--
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists