summaryrefslogtreecommitdiffstats
path: root/sys/dev/e1000/if_em.h
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2013-05-09 17:07:30 +0000
committerluigi <luigi@FreeBSD.org>2013-05-09 17:07:30 +0000
commitf2445b061d612f9b1548197f7d0d407a3fddfa84 (patch)
tree4012346dfa1cfa1f370bdd2b1e3a313b2be31c03 /sys/dev/e1000/if_em.h
parent872b0246a59d9de3065dc0c05a1ec085aa5c90fa (diff)
downloadFreeBSD-src-f2445b061d612f9b1548197f7d0d407a3fddfa84.zip
FreeBSD-src-f2445b061d612f9b1548197f7d0d407a3fddfa84.tar.gz
if_lem.c: make sure that lem_rxeof() can drain the entire rx queue
irrespective of the setting of lem_rx_process_limit, while giving a chance to the taskqueue scheduler to act after each chunk. This makes lem_rxeof similar to the one in if_em.c and if_igb.c . if_lem.c and if_em.c: add a sysctl to manually configure the 'itr' moderation register. Approved by: Jack Vogel
Diffstat (limited to 'sys/dev/e1000/if_em.h')
-rw-r--r--sys/dev/e1000/if_em.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/e1000/if_em.h b/sys/dev/e1000/if_em.h
index f1afbad..09d81d2 100644
--- a/sys/dev/e1000/if_em.h
+++ b/sys/dev/e1000/if_em.h
@@ -429,6 +429,7 @@ struct adapter {
struct em_int_delay_info tx_abs_int_delay;
struct em_int_delay_info rx_int_delay;
struct em_int_delay_info rx_abs_int_delay;
+ struct em_int_delay_info tx_itr;
/* Misc stats maintained by the driver */
unsigned long dropped_pkts;
OpenPOWER on IntegriCloud