diff options
author | kmacy <kmacy@FreeBSD.org> | 2009-06-19 23:34:32 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2009-06-19 23:34:32 +0000 |
commit | 473a60e6d29146ca1471b85f279cacd49a31ff2c (patch) | |
tree | 7f1ac587e63f32f5ee1471191841af4f7a3b6f21 /sys/conf/files | |
parent | 6154623e0c7a2a355870e4a5ffacd4ec8e4ce8f9 (diff) | |
download | FreeBSD-src-473a60e6d29146ca1471b85f279cacd49a31ff2c.zip FreeBSD-src-473a60e6d29146ca1471b85f279cacd49a31ff2c.tar.gz |
Greatly simplify cxgb by removing almost all of the custom mbuf management logic
- remove mbuf iovec - useful, but adds too much complexity when isolated to
the driver
- remove driver private caching - insufficient benefit over UMA to justify
the added complexity and maintenance overhead
- remove separate logic for managing multiple transmit queues, with the
new drbr routines the control flow can be made to much more closely resemble
legacy drivers
- remove dedicated service threads, with per-cpu callouts one can get the same
benefit much more simply by registering a callout 1 tick in the future if there
are still buffered packets
- remove embedded mbuf usage - Jeffr's changes will (I hope) soon be integrated
greatly reducing the overhead of using kernel APIs for reference counting
clusters
- add hysteresis to descriptor coalescing logic
- add coalesce threshold sysctls to allow users to decide at run-time
between optimizing for forwarding / UDP or optimizing for TCP
- add once per second watchdog to effectively close the very rare races
occurring from coalescing
- incorporate Navdeep's changes to the initialization path required to
convert port and adapter locks back to ordinary mutexes (silencing BPF
LOR complaints)
- enable prefetches in get_packet and tx cleaning
Reviewed by: navdeep@
MFC after: 2 weeks
Diffstat (limited to 'sys/conf/files')
-rw-r--r-- | sys/conf/files | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/conf/files b/sys/conf/files index b074f86..19f1e2e 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -756,8 +756,6 @@ dev/cxgb/cxgb_offload.c optional cxgb pci \ compile-with "${NORMAL_C} -I$S/dev/cxgb" dev/cxgb/cxgb_sge.c optional cxgb pci \ compile-with "${NORMAL_C} -I$S/dev/cxgb" -dev/cxgb/cxgb_multiq.c optional cxgb pci \ - compile-with "${NORMAL_C} -I$S/dev/cxgb" dev/cxgb/common/cxgb_mc5.c optional cxgb pci \ compile-with "${NORMAL_C} -I$S/dev/cxgb" dev/cxgb/common/cxgb_vsc7323.c optional cxgb pci \ @@ -776,8 +774,6 @@ dev/cxgb/common/cxgb_tn1010.c optional cxgb pci \ compile-with "${NORMAL_C} -I$S/dev/cxgb" dev/cxgb/sys/uipc_mvec.c optional cxgb pci \ compile-with "${NORMAL_C} -I$S/dev/cxgb" -dev/cxgb/sys/cxgb_support.c optional cxgb pci \ - compile-with "${NORMAL_C} -I$S/dev/cxgb" dev/cxgb/cxgb_t3fw.c optional cxgb cxgb_t3fw \ compile-with "${NORMAL_C} -I$S/dev/cxgb" dev/cy/cy.c optional cy |