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/fs/nfs/nfs.h | |
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/fs/nfs/nfs.h')
0 files changed, 0 insertions, 0 deletions