ia64/linux-2.6.18-xen.hg

diff drivers/xen/netback/common.h @ 792:db9857bb0320

netback: add ethtool stat to track copied skbs.

Copied skbs should be rare but we have no way of verifying that.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 05 15:24:46 2009 +0000 (2009-02-05)
parents 41e34ec8d249
children 8b86d11a6eb3
line diff
     1.1 --- a/drivers/xen/netback/common.h	Wed Feb 04 12:26:00 2009 +0000
     1.2 +++ b/drivers/xen/netback/common.h	Thu Feb 05 15:24:46 2009 +0000
     1.3 @@ -94,6 +94,9 @@ typedef struct netif_st {
     1.4  	/* Enforce draining of the transmit queue. */
     1.5  	struct timer_list tx_queue_timeout;
     1.6  
     1.7 +	/* Statistics */
     1.8 +	int nr_copied_skbs;
     1.9 +
    1.10  	/* Miscellaneous private stuff. */
    1.11  	struct list_head list;  /* scheduling list */
    1.12  	atomic_t         refcnt;