ixgbe: New driver for Pci-Express 10GbE 82598 support
Subsystems (3)
PATCH 1/1 ixgbe: New driver for Pci-Express 10GbE 82598 support
This patch adds support for the Intel 82598 PCI-Express 10GbE chipset. Devices will be available on the market soon.
This version of the driver is largely the same as the last release:
* Driver uses a single RX and single TX queue, each using 1 MSI-X irq vector.
* Driver runs in NAPI mode only
* Driver is largely multiqueue-ready (TM)
Changes since last version:
* Removed ixgbe_param.c completely:
- removed rx parameter (unused)
- flowcontrol uses hardcoded defaults
- flowcontrol can be enabled as usual per ethtool
- LLI code was retired for now (it was disabled by default)
- buffermode setting uses the optimal case (PS for jumbo, single buffers for 1500MTU's and below)
- irq moderation settings were implemented using the ethtool coalesce settings:
ethtool -c ethX - displays rx and tx irq delay moderation ethtool -C ethX rx-usecs N tx-usecs M - set irq delay moderation times for rx, tx.
(in msi or legacy irq mode it will only use rx-usecs for both rx and tx)
* removed no longer existing ethtool perm_addr ops
* Namespace cleanup
* Sparse address space annotations
* Removed a bunch of dead/unused code
* DEBUG_SHIRQ panic fix when going ifdn
--- Documentation/networking/ixgbe.txt | 72 + MAINTAINERS | 10 +- drivers/net/Kconfig | 22 + drivers/net/Makefile | 1 + drivers/net/ixgbe/Makefile | 36 + drivers/net/ixgbe/ixgbe.h | 243 ++++ drivers/net/ixgbe/ixgbe_82598.c | 598 ++++++++ drivers/net/ixgbe/ixgbe_api.c | 553 +++++++ drivers/net/ixgbe/ixgbe_api.h | 80 ++ drivers/net/ixgbe/ixgbe_common.c | 1679 ++++++++++++++++++++++ drivers/net/ixgbe/ixgbe_common.h | 43 + drivers/net/ixgbe/ixgbe_ethtool.c | 931 ++++++++++++ drivers/net/ixgbe/ixgbe_main.c | 2765 ++++++++++++++++++++++++++++++++++++ drivers/net/ixgbe/ixgbe_osdep.h | 69 + drivers/net/ixgbe/ixgbe_phy.c | 601 ++++++++ drivers/net/ixgbe/ixgbe_phy.h | 40 + drivers/net/ixgbe/ixgbe_type.h | 1390 ++++++++++++++++++ 17 files changed, 9127 insertions(+), 6 deletions(-) create mode 100644 Documentation/networking/ixgbe.txt create mode 100644 drivers/net/ixgbe/Makefile create mode 100644 drivers/net/ixgbe/ixgbe.h create mode 100644 drivers/net/ixgbe/ixgbe_82598.c create mode 100644 drivers/net/ixgbe/ixgbe_api.c create mode 100644 drivers/net/ixgbe/ixgbe_api.h create mode 100644 drivers/net/ixgbe/ixgbe_common.c create mode 100644 drivers/net/ixgbe/ixgbe_common.h create mode 100644 drivers/net/ixgbe/ixgbe_ethtool.c create mode 100644 drivers/net/ixgbe/ixgbe_main.c create mode 100644 drivers/net/ixgbe/ixgbe_osdep.h create mode 100644 drivers/net/ixgbe/ixgbe_phy.c create mode 100644 drivers/net/ixgbe/ixgbe_phy.h create mode 100644 drivers/net/ixgbe/ixgbe_type.h
Documentation/networking/ixgbe.txt new file +72 -0
@@ -0,0 +1,72 @@ +Linux* Base Driver for the 10 Gigabit Family of Adapters +================================================================ + +July 09, 2007 + + +Contents +======== + +- In This Release +- Identifying Your Adapter +- Command Line Parameters +- Support + +In This Release +=============== + +This file describes the Linux* Base Driver for the 10 Gigabit PCI Express +Family of Adapters. This driver supports the 2.6.x kernel. This driver +includes support for Itanium(R)2-based systems. + +The following features are now available in supported kernels: + - Native VLANs + - Channel Bonding (teaming) + - SNMP + +Channel Bonding documentation can be found in the Linux kernel source: +/Documentation/networking/bonding.txt + +Instructions on updating ethtool can be found in the section "Additional +Configurations" later in this document. + + +Identifying Your Adapter +======================== + +The following Intel network adapters are compatible with the drivers in this +release: + +Controller Adapter Name Physical Layer +---------- ------------ -------------- +82598 Intel(R) 10GbE-LR/LRM/SR + Server Adapters 10G Base -SR (850 nm optical fiber) + 10G Base -LRM (850 nm optical fiber) + 10G Base -LR (1310 nm optical fiber) + +For more information on how to identify your adapter, go to the Adapter & +Driver ID Guide at: + + http://support.intel.com/support/network/sb/CS-012904.htm + +For the latest Intel network drivers for Linux, refer to the following +website. In the search field, enter your adapter name or type, or use the +networking link on the left to search for your adapter: + + http://downloadfinder.intel.com/scripts-df/support_intel.asp + + +Support +======= + +For general information, go to the Intel support website at: + + http://support.intel.com + +or the Intel Wired Networking project hosted by Sourceforge at: + + http://sourceforge.net/projects/e1000 + +If an issue is identified with the released source code on the supported +kernel with a supported adapter, email the specific information related +to the issue to [email protected]
MAINTAINERS +4 -6
@@ -1998,16 +1998,14 @@ W: http://sourceforge.net/projects/e1000/ S: Supported INTEL PRO/10GbE SUPPORT -P: Jeff Kirsher -M: [email protected] P: Ayyappan Veeraiyan M: [email protected] -P: John Ronciak -M: [email protected] -P: Jesse Brandeburg -M: [email protected] P: Auke Kok M: [email protected] +P: Jesse Brandeburg +M: [email protected] +P: John Ronciak +M: [email protected] L: [email protected] W: http://sourceforge.net/projects/e1000/ S: Supported
drivers/net/Kconfig +22 -0
@@ -2405,6 +2405,28 @@ config EHEA To compile the driver as a module, choose M here. The module will be called ehea. +config IXGBE + tristate "Intel(R) PRO/10GbE PCI Express adapters support" + depends on PCI + ---help--- + This driver supports Intel(R) PRO/10GbE PCI Express family of + adapters. For more information on how to identify your adapter, go + to the Adapter & Driver ID Guide at: + + <http://support.intel.com/support/network/adapter/pro100/21397.htm> + + For general information and support, go to the Intel support + website at: + + <http://support.intel.com> + + More specific information on configuring the driver is in + <file:Documentation/networking/ixgbe.txt>. + + To compile this driver as a module, choose M here and read + <file:Documentation/networking/net-modules.txt>. The module + will be called ixgbe. + config IXGB tristate "Intel(R) PRO/10GbE support" depends on PCI
drivers/net/Makefile +1 -0
@@ -4,6 +4,7 @@ obj-$(CONFIG_E1000) += e1000/ obj-$(CONFIG_IBM_EMAC) += ibm_emac/ +obj-$(CONFIG_IXGBE) += ixgbe/ obj-$(CONFIG_IXGB) += ixgb/ obj-$(CONFIG_CHELSIO_T1) += chelsio/ obj-$(CONFIG_CHELSIO_T3) += cxgb3/
drivers/net/ixgbe/Makefile new file +36 -0
@@ -0,0 +1,36 @@ +################################################################################ +# +# Intel PRO/10GbE PCI Express Linux driver +# Copyright(c) 1999 - 2007 Intel Corporation. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms and conditions of the GNU General Public License, +# version 2, as published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. +# +# The full GNU General Public License is included in this distribution in +# the file called "COPYING". +# +# Contact Information: +# Linux NICS <[email protected]> +# e1000-devel Mailing List <[email protected]> +# Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 +# +################################################################################ + +# +# Makefile for the Intel(R) PRO/10GbE PCI Express ethernet driver +# + +obj-$(CONFIG_IXGBE) += ixgbe.o + +ixgbe-objs := ixgbe_main.o ixgbe_common.o ixgbe_api.o ixgbe_ethtool.o \ + ixgbe_82598.o ixgbe_phy.o
drivers/net/ixgbe/ixgbe.h new file +243 -0
243 lines not on this page · raw message
drivers/net/ixgbe/ixgbe_82598.c new file +598 -0
598 lines not on this page · raw message
drivers/net/ixgbe/ixgbe_api.c new file +553 -0
553 lines not on this page · raw message
drivers/net/ixgbe/ixgbe_api.h new file +80 -0
80 lines not on this page · raw message
drivers/net/ixgbe/ixgbe_common.c new file +1679 -0
1,363 lines not on this page · raw message
drivers/net/ixgbe/ixgbe_common.h new file +43 -0
43 lines not on this page · raw message
drivers/net/ixgbe/ixgbe_ethtool.c new file +931 -0
931 lines not on this page · raw message
drivers/net/ixgbe/ixgbe_main.c new file +2765 -0
2,765 lines not on this page · raw message
drivers/net/ixgbe/ixgbe_osdep.h new file +69 -0
69 lines not on this page · raw message
drivers/net/ixgbe/ixgbe_phy.c new file +601 -0
601 lines not on this page · raw message
drivers/net/ixgbe/ixgbe_phy.h new file +40 -0
Lines of this file are not shown. View the raw message.
drivers/net/ixgbe/ixgbe_type.h new file +1390 -0
1,390 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.5.0.6
Part of the diff is not shown here. View the raw message.
Quoted 2 lines · Auke Kok
This patch adds support for the Intel 82598 PCI-Express 10GbE chipset. Devices will be available on the market soon.
Also available through http and git:
http://foo-projects.org/~sofar/ixgbe-20070803-submission.patch
http://foo-projects.org/~sofar/ixgbe-20070803-submission.patch.bz2
git://lost.foo-projects.org/~ahkok/linux-2.6#ixgbe-20070803-submission
Cheers,
Auke
Quoted 9 lines · Auke Kok
This patch adds support for the Intel 82598 PCI-Express 10GbE chipset. Devices will be available on the market soon.
This version of the driver is largely the same as the last release:
* Driver uses a single RX and single TX queue, each using 1 MSI-X irq vector.
* Driver runs in NAPI mode only
* Driver is largely multiqueue-ready (TM)
...
Quoted 8 lines
Documentation/networking/ixgbe.txt new file +2
-0@@ -0,0 +1,72 @@ +Linux* Base Driver for the 10 Gigabit Family of Adapters +================================================================
Documentation/networking/ixgbe.txt line 12
Quoted 10 lines
Documentation/networking/ixgbe.txt new file +10
-0+ +July 09, 2007 + + +Contents +======== + +- In This Release +- Identifying Your Adapter +- Command Line Parameters
There is no section "Command Line Parameters" in the document.
-Bill
Quoted 60 lines
Documentation/networking/ixgbe.txt new file +60
-0+- Support + +In This Release +=============== + +This file describes the Linux* Base Driver for the 10 Gigabit PCI Express +Family of Adapters. This driver supports the 2.6.x kernel. This driver +includes support for Itanium(R)2-based systems. + +The following features are now available in supported kernels: + - Native VLANs + - Channel Bonding (teaming) + - SNMP + +Channel Bonding documentation can be found in the Linux kernel source: +/Documentation/networking/bonding.txt + +Instructions on updating ethtool can be found in the section "Additional +Configurations" later in this document. + + +Identifying Your Adapter +======================== + +The following Intel network adapters are compatible with the drivers in this +release: + +Controller Adapter Name Physical Layer +---------- ------------ -------------- +82598 Intel(R) 10GbE-LR/LRM/SR + Server Adapters 10G Base -SR (850 nm optical fiber) + 10G Base -LRM (850 nm optical fiber) + 10G Base -LR (1310 nm optical fiber) + +For more information on how to identify your adapter, go to the Adapter & +Driver ID Guide at: + + http://support.intel.com/support/network/sb/CS-012904.htm + +For the latest Intel network drivers for Linux, refer to the following +website. In the search field, enter your adapter name or type, or use the +networking link on the left to search for your adapter: + + http://downloadfinder.intel.com/scripts-df/support_intel.asp + + +Support +======= + +For general information, go to the Intel support website at: + + http://support.intel.com + +or the Intel Wired Networking project hosted by Sourceforge at: + + http://sourceforge.net/projects/e1000 + +If an issue is identified with the released source code on the supported +kernel with a supported adapter, email the specific information related +to the issue to [email protected]
Quoted 11 lines · Bill Fink
Documentation/networking/ixgbe.txt line 12
Quoted 7 lines · Auke Kok
Documentation/networking/ixgbe.txt new file +7
-0+ +Contents +======== + +- In This Release +- Identifying Your Adapter +- Command Line ParametersThere is no section "Command Line Parameters" in the document.
Quoted 1 line
-Bill
hmm yes, I removed all of them :)
Obviously I'll update the index. Thanks
Auke
Quoted 9 lines · Auke Kok
This patch adds support for the Intel 82598 PCI-Express 10GbE chipset. Devices will be available on the market soon.
This version of the driver is largely the same as the last release:
* Driver uses a single RX and single TX queue, each using 1 MSI-X irq vector.
* Driver runs in NAPI mode only
* Driver is largely multiqueue-ready (TM)
For those interested in the specs of the product and all the features that it supports, I just noticed that the product brief was posted on our website with all the features and facts on the 82598-based products. Please take a look:
Overview:
http://www.intel.com/design/network/products/lan/controllers/82598.htm
Product brief:
http://download.intel.com/design/network/prodbrf/317796.pdf
Cheers,
Auke