]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge Neterion if_nxge driver version 2.0.9.11230 with the following
authorrwatson <rwatson@FreeBSD.org>
Mon, 29 Oct 2007 14:19:32 +0000 (14:19 +0000)
committerrwatson <rwatson@FreeBSD.org>
Mon, 29 Oct 2007 14:19:32 +0000 (14:19 +0000)
commitdf4d50261927c949ecb4b8f20b8c0c587dc681ad
tree5c43c011eb6bbd46d06a33a2943b65d985735f67
parenta4265719055fe445116eb2743b6aacf518bb1a8d
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>
48 files changed:
share/man/man4/nxge.4
sys/dev/nxge/if_nxge.c
sys/dev/nxge/if_nxge.h
sys/dev/nxge/include/build-version.h
sys/dev/nxge/include/version.h
sys/dev/nxge/include/xge-debug.h
sys/dev/nxge/include/xge-defs.h
sys/dev/nxge/include/xge-list.h
sys/dev/nxge/include/xge-os-pal.h
sys/dev/nxge/include/xge-os-template.h [deleted file]
sys/dev/nxge/include/xge-queue.h
sys/dev/nxge/include/xgehal-channel.h
sys/dev/nxge/include/xgehal-config.h
sys/dev/nxge/include/xgehal-device.h
sys/dev/nxge/include/xgehal-driver.h
sys/dev/nxge/include/xgehal-event.h
sys/dev/nxge/include/xgehal-fifo.h
sys/dev/nxge/include/xgehal-mgmt.h
sys/dev/nxge/include/xgehal-mgmtaux.h
sys/dev/nxge/include/xgehal-mm.h
sys/dev/nxge/include/xgehal-regs.h
sys/dev/nxge/include/xgehal-ring.h
sys/dev/nxge/include/xgehal-stats.h
sys/dev/nxge/include/xgehal-types.h
sys/dev/nxge/include/xgehal.h
sys/dev/nxge/xge-osdep.h
sys/dev/nxge/xgehal/xge-queue.c
sys/dev/nxge/xgehal/xgehal-channel-fp.c
sys/dev/nxge/xgehal/xgehal-channel.c
sys/dev/nxge/xgehal/xgehal-config.c
sys/dev/nxge/xgehal/xgehal-device-fp.c
sys/dev/nxge/xgehal/xgehal-device.c
sys/dev/nxge/xgehal/xgehal-driver.c
sys/dev/nxge/xgehal/xgehal-fifo-fp.c
sys/dev/nxge/xgehal/xgehal-fifo.c
sys/dev/nxge/xgehal/xgehal-mgmt.c
sys/dev/nxge/xgehal/xgehal-mgmtaux.c
sys/dev/nxge/xgehal/xgehal-mm.c
sys/dev/nxge/xgehal/xgehal-ring-fp.c
sys/dev/nxge/xgehal/xgehal-ring.c
sys/dev/nxge/xgehal/xgehal-stats.c
sys/dev/nxge/xgell-version.h
sys/modules/nxge/Makefile
tools/tools/nxge/xge_cmn.h
tools/tools/nxge/xge_info.c
tools/tools/nxge/xge_info.h
tools/tools/nxge/xge_log.c
tools/tools/nxge/xge_log.h