git: bnx: Implement multiple RX/TX rings and MSI-X support for 5718/57785
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri May 3 06:14:45 PDT 2013
commit 695a85868a5ea92533f3cd1ffadb2a97006688dc
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Wed Apr 17 22:12:29 2013 +0800
bnx: Implement multiple RX/TX rings and MSI-X support for 5718/57785
BCM5718 and BCM57785 families support 4 RX rings and 5 MSI-X vectors.
Additionally BCM5719/BCM5720 support 4 TX rings, while other chips in
these two families only support 1 TX ring. Each MSI-X vector has its
own interrupt moderation parameters.
Hardware supplied RSS hash and packet type are not utilized yet; they
will be supported in the upcoming commits.
This commit also fixes some RX standard ring refilling races introduced
in:
841cdf08263117c54b0a800440c7630b6913c21e
RX standard ring refilling scheduling may enjoy futher optimization.
Summary of changes:
sys/conf/options | 2 +
sys/config/LINT | 2 +
sys/config/LINT64 | 2 +
sys/dev/netif/bge/if_bgereg.h | 41 ++
sys/dev/netif/bnx/if_bnx.c | 1252 ++++++++++++++++++++++++++++++++++++-----
sys/dev/netif/bnx/if_bnxvar.h | 26 +-
6 files changed, 1182 insertions(+), 143 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/695a85868a5ea92533f3cd1ffadb2a97006688dc
--
DragonFly BSD source repository
More information about the Commits
mailing list