xen-devel
[Xen-devel] Re: [patch 37/44] xen: add virtual network device driver
To: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Subject: |
[Xen-devel] Re: [patch 37/44] xen: add virtual network device driver |
From: |
Rusty Russell <rusty@xxxxxxxxxxxxxxx> |
Date: |
Wed, 18 Jul 2007 09:45:09 +1000 |
Cc: |
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>, Jeff Garzik <jeff@xxxxxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxxxxxx, lkml <linux-kernel@xxxxxxxxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, Chris Wright <chrisw@xxxxxxxxxxxx>, Ian Pratt <ian.pratt@xxxxxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>, Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>, Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> |
Delivery-date: |
Tue, 17 Jul 2007 16:43:29 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<469CD222.1030202@xxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<20070716231536.937393000@xxxxxxxxxxxxx> <20070716232916.472694000@xxxxxxxxxxxxx> <20070717094511.795beb69@oldman> <469CD222.1030202@xxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On Tue, 2007-07-17 at 07:28 -0700, Jeremy Fitzhardinge wrote:
> Stephen Hemminger wrote:
> >> +struct netfront_info {
> >> + struct list_head list;
> >> + struct net_device *netdev;
> >> +
> >> + struct net_device_stats stats;
> >>
> >
> > There is now a net_device_stats element inside net_device on
> > 2.6.21 or later.
> >
>
> Ah, OK. Should I just do a s/stats/netdev->stats/? Is there a generic
> get_stats routine as well?
The default function points to the internal stats...
Cheers,
Rusty.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [patch 44/44] xen: disable all non-virtual drivers, (continued)
[Xen-devel] [patch 18/44] xen: Add Xen interface header files, Jeremy Fitzhardinge
[Xen-devel] [patch 16/44] Add a sched_clock paravirt_op, Jeremy Fitzhardinge
[Xen-devel] [patch 32/44] xen: hack to prevent bad segment register reload, Jeremy Fitzhardinge
[Xen-devel] [patch 09/44] paravirt: increase IRQ limit, Jeremy Fitzhardinge
[Xen-devel] [patch 15/44] paravirt: helper to disable all IO space, Jeremy Fitzhardinge
[Xen-devel] [patch 20/44] xen: virtual mmu, Jeremy Fitzhardinge
[Xen-devel] [patch 11/44] paravirt: unstatic smp_store_cpu_info, Jeremy Fitzhardinge
[Xen-devel] [patch 39/44] xen: handle external requests for shutdown, reboot and sysrq, Jeremy Fitzhardinge
[Xen-devel] [patch 19/44] xen: Core Xen implementation, Jeremy Fitzhardinge
|
|
|