Displaying 1 result from an estimated 1 matches for "nr_copied_skbs".
2009 Feb 05
0
[PATCH] netback: add ethtool stat to track copied skbs
...k/common.h
--- a/drivers/xen/netback/common.h Wed Feb 04 12:26:00 2009 +0000
+++ b/drivers/xen/netback/common.h Thu Feb 05 15:11:35 2009 +0000
@@ -94,6 +94,9 @@ typedef struct netif_st {
/* Enforce draining of the transmit queue. */
struct timer_list tx_queue_timeout;
+ /* Statistics */
+ int nr_copied_skbs;
+
/* Miscellaneous private stuff. */
struct list_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...