diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-10-29 14:19:32 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-10-29 14:19:32 +0000 |
commit | df4d50261927c949ecb4b8f20b8c0c587dc681ad (patch) | |
tree | 5c43c011eb6bbd46d06a33a2943b65d985735f67 /sys/modules/nxge | |
parent | a4265719055fe445116eb2743b6aacf518bb1a8d (diff) | |
download | FreeBSD-src-df4d50261927c949ecb4b8f20b8c0c587dc681ad.zip FreeBSD-src-df4d50261927c949ecb4b8f20b8c0c587dc681ad.tar.gz |
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>
Diffstat (limited to 'sys/modules/nxge')
-rw-r--r-- | sys/modules/nxge/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/modules/nxge/Makefile b/sys/modules/nxge/Makefile index 0eea721..4994b90 100644 --- a/sys/modules/nxge/Makefile +++ b/sys/modules/nxge/Makefile @@ -22,14 +22,11 @@ CFLAGS_NXGE += -DXGE_DEBUG_MODULE_MASK=XGE_COMPONENT_LL CFLAGS_NXGE += -DXGE_DEBUG_ERR_MASK=XGE_COMPONENT_LL #CFLAGS_NXGE += -DXGE_DEBUG_TRACE_MASK=XGE_COMPONENT_LL -# 2-Buffer Mode -#CFLAGS_NXGE += -DXGE_BUFFER_MODE_2 - -# 3-Buffer Mode -#CFLAGS_NXGE += -DXGE_BUFFER_MODE_3 +# Check Memory +#CFLAGS_NXGE += -DXGE_OS_MEMORY_CHECK -# TSO (TCP Segmentation Offload) -CFLAGS_NXGE += -DXGE_FEATURE_TSO +# 2-Buffer Mode +#CFLAGS_NXGE += -DXGE_FEATURE_BUFFER_MODE_2 CFLAGS += $(CFLAGS_NXGE) |