aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/xen-netback/common.h')
-rw-r--r--drivers/net/xen-netback/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/xen-netback/common.h b/drivers/net/xen-netback/common.h
index c2642402b7a1..083ecc93fe5e 100644
--- a/drivers/net/xen-netback/common.h
+++ b/drivers/net/xen-netback/common.h
@@ -179,6 +179,8 @@ struct xenvif_queue { /* Per-queue data for xenvif */
179 179
180 unsigned int rx_queue_max; 180 unsigned int rx_queue_max;
181 unsigned int rx_queue_len; 181 unsigned int rx_queue_len;
182 unsigned long last_rx_time;
183 bool stalled;
182 184
183 struct gnttab_copy grant_copy_op[MAX_GRANT_COPY_OPS]; 185 struct gnttab_copy grant_copy_op[MAX_GRANT_COPY_OPS];
184 186
@@ -232,6 +234,9 @@ struct xenvif {
232 /* Queues */ 234 /* Queues */
233 struct xenvif_queue *queues; 235 struct xenvif_queue *queues;
234 unsigned int num_queues; /* active queues, resource allocated */ 236 unsigned int num_queues; /* active queues, resource allocated */
237 unsigned int stalled_queues;
238
239 spinlock_t lock;
235 240
236#ifdef CONFIG_DEBUG_FS 241#ifdef CONFIG_DEBUG_FS
237 struct dentry *xenvif_dbg_root; 242 struct dentry *xenvif_dbg_root;