FYI: I have merged the new Neterion 10gbps driver drop into CVS, courtesy Neterion. They report significantly improved performance due to a variety of optimizations made in this drop. I'm not sure how many Neterion users we have out there running 8-CURRENT, but if you are, please give this drop a try as I plan to merge it for inclusion in 7.0-RELEASE. Thanks, Robert N M Watson Computer Laboratory University of Cambridge ---------- Forwarded message ---------- Date: Mon, 29 Oct 2007 14:19:32 +0000 (UTC) From: Robert Watson <rwatson_at_FreeBSD.org> To: src-committers_at_FreeBSD.org, cvs-src_at_FreeBSD.org, cvs-all_at_FreeBSD.org Subject: cvs commit: src/share/man/man4 nxge.4 src/sys/dev/nxge if_nxge.c if_nxge.h xge-osdep.h xgell-version.h src/sys/dev/nxge/include build-version.h version.h xge-debug.h xge-defs.h xge-list.h xge-os-pal.h xge-os-template.h xge-queue.h xgehal-channel.h ... rwatson 2007-10-29 14:19:32 UTC FreeBSD src repository Modified files: share/man/man4 nxge.4 sys/dev/nxge if_nxge.c if_nxge.h xge-osdep.h xgell-version.h sys/dev/nxge/include build-version.h version.h xge-debug.h xge-defs.h xge-list.h xge-os-pal.h xge-queue.h xgehal-channel.h xgehal-config.h xgehal-device.h xgehal-driver.h xgehal-event.h xgehal-fifo.h xgehal-mgmt.h xgehal-mgmtaux.h xgehal-mm.h xgehal-regs.h xgehal-ring.h xgehal-stats.h xgehal-types.h xgehal.h sys/dev/nxge/xgehal xge-queue.c xgehal-channel-fp.c xgehal-channel.c xgehal-config.c xgehal-device-fp.c xgehal-device.c xgehal-driver.c xgehal-fifo-fp.c xgehal-fifo.c xgehal-mgmt.c xgehal-mgmtaux.c xgehal-mm.c xgehal-ring-fp.c xgehal-ring.c xgehal-stats.c sys/modules/nxge Makefile tools/tools/nxge Makefile xge_cmn.h xge_info.c xge_info.h xge_log.c xge_log.h Removed files: sys/dev/nxge/include xge-os-template.h Log: Merge Neterion if_nxge driver version 2.0.9.11230 with the following changes: 01 - Enhanced LRO: LRO feature is extended to support multi-buffer mode. Previously, Ethernet frames received in contiguous buffers were offloaded. Now, frames received in multiple non-contiguous buffers can be offloaded, as well. The driver now supports LRO for jumbo frames. 02 - Locks Optimization: The driver code was re-organized to limit the use of locks. Moreover, lock contention was reduced by replacing wait locks with try locks. 03 - Code Optimization: The driver code was re-factored to eliminate some memcpy operations. Fast path loops were optimized. 04 - Tag Creations: Physical Buffer Tags are now optimized based upon frame size. For better performance, Physical Memory Maps are now re-used. 05 - Configuration: Features such as TSO, LRO, and Interrupt Mode can be configured either at load or at run time. Rx buffer mode (mode 1 or mode 2) can be configured at load time through kenv. 06 - Driver Statistics: Run time statistics are enhanced to provide better visibility into the driver performance. 07 - Bug Fixes: The driver contains fixes for the problems discovered and reported since last submission. 08 - MSI support: Added Message Signaled Interrupt feature which currently uses 1 message. 09 Removed feature: Rx 3 buffer mode feature has been removed. Driver now supports 1, 2 and 5 buffer modes of which 2 and 5 buffer modes can be used for header separation. 10 Compiler warning: Fixed compiler warning when compiled for 32 bit system. 11 Copyright notice: Source files are updated with the proper copyright notice. MFC after: 3 days Submitted by: Alicia Pena <Alicia dot Pena at neterion dot com>, Muhammad Shafiq <Muhammad dot Shafiq at neterion dot com> Revision Changes Path 1.4 +9 -4 src/share/man/man4/nxge.4 1.4 +2234 -2123 src/sys/dev/nxge/if_nxge.c 1.2 +255 -129 src/sys/dev/nxge/if_nxge.h 1.2 +2 -2 src/sys/dev/nxge/include/build-version.h 1.2 +6 -14 src/sys/dev/nxge/include/version.h 1.2 +15 -168 src/sys/dev/nxge/include/xge-debug.h 1.2 +56 -64 src/sys/dev/nxge/include/xge-defs.h 1.2 +18 -26 src/sys/dev/nxge/include/xge-list.h 1.2 +35 -48 src/sys/dev/nxge/include/xge-os-pal.h 1.2 +0 -614 src/sys/dev/nxge/include/xge-os-template.h (dead) 1.2 +30 -38 src/sys/dev/nxge/include/xge-queue.h 1.2 +85 -102 src/sys/dev/nxge/include/xgehal-channel.h 1.2 +438 -538 src/sys/dev/nxge/include/xgehal-config.h 1.2 +222 -248 src/sys/dev/nxge/include/xgehal-device.h 1.2 +30 -38 src/sys/dev/nxge/include/xgehal-driver.h 1.2 +10 -18 src/sys/dev/nxge/include/xgehal-event.h 1.2 +68 -72 src/sys/dev/nxge/include/xgehal-fifo.h 1.2 +42 -50 src/sys/dev/nxge/include/xgehal-mgmt.h 1.2 +21 -29 src/sys/dev/nxge/include/xgehal-mgmtaux.h 1.2 +30 -38 src/sys/dev/nxge/include/xgehal-mm.h 1.2 +340 -344 src/sys/dev/nxge/include/xgehal-regs.h 1.2 +128 -136 src/sys/dev/nxge/include/xgehal-ring.h 1.2 +263 -300 src/sys/dev/nxge/include/xgehal-stats.h 1.2 +198 -217 src/sys/dev/nxge/include/xgehal-types.h 1.2 +0 -9 src/sys/dev/nxge/include/xgehal.h 1.2 +303 -276 src/sys/dev/nxge/xge-osdep.h 1.2 +133 -141 src/sys/dev/nxge/xgehal/xge-queue.c 1.2 +124 -129 src/sys/dev/nxge/xgehal/xgehal-channel-fp.c 1.2 +208 -383 src/sys/dev/nxge/xgehal/xgehal-channel.c 1.2 +241 -249 src/sys/dev/nxge/xgehal/xgehal-config.c 1.2 +708 -716 src/sys/dev/nxge/xgehal/xgehal-device-fp.c 1.2 +2975 -2955 src/sys/dev/nxge/xgehal/xgehal-device.c 1.2 +82 -90 src/sys/dev/nxge/xgehal/xgehal-driver.c 1.2 +256 -264 src/sys/dev/nxge/xgehal/xgehal-fifo-fp.c 1.2 +200 -208 src/sys/dev/nxge/xgehal/xgehal-fifo.c 1.2 +493 -501 src/sys/dev/nxge/xgehal/xgehal-mgmt.c 1.2 +809 -817 src/sys/dev/nxge/xgehal/xgehal-mgmtaux.c 1.2 +244 -252 src/sys/dev/nxge/xgehal/xgehal-mm.c 1.2 +362 -370 src/sys/dev/nxge/xgehal/xgehal-ring-fp.c 1.2 +233 -241 src/sys/dev/nxge/xgehal/xgehal-ring.c 1.2 +360 -368 src/sys/dev/nxge/xgehal/xgehal-stats.c 1.2 +1 -9 src/sys/dev/nxge/xgell-version.h 1.2 +4 -7 src/sys/modules/nxge/Makefile 1.2 +0 -0 src/tools/tools/nxge/Makefile 1.2 +49 -46 src/tools/tools/nxge/xge_cmn.h 1.2 +569 -424 src/tools/tools/nxge/xge_info.c 1.2 +30 -34 src/tools/tools/nxge/xge_info.h 1.2 +286 -211 src/tools/tools/nxge/xge_log.c 1.2 +2519 -2500 src/tools/tools/nxge/xge_log.hReceived on Mon Oct 29 2007 - 19:50:06 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC