Message ID | 20110504140309.14817.61411.sendpatchset@krkumar2.in.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff -ruNp org/include/linux/netdevice.h new/include/linux/netdevice.h --- org/include/linux/netdevice.h 2011-05-04 18:57:06.000000000 +0530 +++ new/include/linux/netdevice.h 2011-05-04 18:57:09.000000000 +0530 @@ -571,6 +571,7 @@ struct netdev_queue { * please use this field instead of dev->trans_start */ unsigned long trans_start; + unsigned long xmit_restart_jiffies; /* jiffies to restart */ } ____cacheline_aligned_in_smp; static inline int netdev_queue_numa_node_read(const struct netdev_queue *q)
Add a per-txq field that can (optionally) be set by participating drivers to indicate when to restart tx. Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com> --- include/linux/netdevice.h | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html