Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Update ixg(4) and ixv(4) up to FreeBSD r29...
details: https://anonhg.NetBSD.org/src/rev/643c249c0bb4
branches: trunk
changeset: 349254:643c249c0bb4
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Dec 02 10:42:04 2016 +0000
description:
Update ixg(4) and ixv(4) up to FreeBSD r292674:
- Add X552 SFP+ and X550T single port.
- Bug fixes.
diffstat:
sys/dev/pci/ixgbe/LICENSE | 34 --
sys/dev/pci/ixgbe/README | 319 -------------------------
sys/dev/pci/ixgbe/ix_txrx.c | 155 +++++------
sys/dev/pci/ixgbe/ixgbe.c | 490 +++++++++++++++++++++++++++-----------
sys/dev/pci/ixgbe/ixgbe.h | 27 +-
sys/dev/pci/ixgbe/ixgbe_82598.c | 8 +-
sys/dev/pci/ixgbe/ixgbe_82599.c | 65 +++-
sys/dev/pci/ixgbe/ixgbe_api.c | 6 +-
sys/dev/pci/ixgbe/ixgbe_api.h | 13 +-
sys/dev/pci/ixgbe/ixgbe_common.c | 68 ++--
sys/dev/pci/ixgbe/ixgbe_dcb.c | 9 +-
sys/dev/pci/ixgbe/ixgbe_mbx.h | 2 +-
sys/dev/pci/ixgbe/ixgbe_osdep.c | 117 +++++++++
sys/dev/pci/ixgbe/ixgbe_osdep.h | 40 +-
sys/dev/pci/ixgbe/ixgbe_phy.c | 88 ++++--
sys/dev/pci/ixgbe/ixgbe_phy.h | 17 +-
sys/dev/pci/ixgbe/ixgbe_type.h | 67 +++-
sys/dev/pci/ixgbe/ixgbe_vf.c | 6 +-
sys/dev/pci/ixgbe/ixgbe_x540.c | 43 +-
sys/dev/pci/ixgbe/ixgbe_x550.c | 377 ++++++++++++-----------------
sys/dev/pci/ixgbe/ixgbe_x550.h | 5 +-
sys/dev/pci/ixgbe/ixv.c | 126 +++++----
22 files changed, 1025 insertions(+), 1057 deletions(-)
diffs (truncated from 4029 to 300 lines):
diff -r 7be71ef33ea4 -r 643c249c0bb4 sys/dev/pci/ixgbe/LICENSE
--- a/sys/dev/pci/ixgbe/LICENSE Fri Dec 02 10:34:23 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-/******************************************************************************
-
- Copyright (c) 2001-2015, Intel Corporation
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- 1. Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of the Intel Corporation nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-
-******************************************************************************/
-/*$FreeBSD: head/sys/dev/ixgbe/LICENSE 280182 2015-03-17 18:32:28Z jfv $*/
-/*$NetBSD: LICENSE,v 1.4 2016/12/01 06:56:28 msaitoh Exp $*/
diff -r 7be71ef33ea4 -r 643c249c0bb4 sys/dev/pci/ixgbe/README
--- a/sys/dev/pci/ixgbe/README Fri Dec 02 10:34:23 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,319 +0,0 @@
-FreeBSD Driver for Intel(R) Ethernet 10 Gigabit PCI Express Server Adapters
-============================================================================
-/*$FreeBSD: head/sys/dev/ixgbe/README 251964 2013-06-18 21:28:19Z jfv $*/
-
-Jun 18, 2013
-
-
-Contents
-========
-
-- Overview
-- Supported Adapters
-- Building and Installation
-- Additional Configurations and Tuning
-- Known Limitations
-
-
-Overview
-========
-
-This file describes the FreeBSD* driver for the
-Intel(R) Ethernet 10 Gigabit Family of Adapters.
-
-For questions related to hardware requirements, refer to the documentation
-supplied with your Intel 10GbE adapter. All hardware requirements listed
-apply to use with FreeBSD.
-
-
-Supported Adapters
-==================
-
-The driver in this release is compatible with 82598 and 82599-based Intel
-Network Connections.
-
-SFP+ Devices with Pluggable Optics
-----------------------------------
-
-82599-BASED ADAPTERS
-
-NOTE: If your 82599-based Intel(R) Ethernet Network Adapter came with Intel
-optics, or is an Intel(R) Ethernet Server Adapter X520-2, then it only supports
-Intel optics and/or the direct attach cables listed below.
-
-When 82599-based SFP+ devices are connected back to back, they should be set to
-the same Speed setting. Results may vary if you mix speed settings.
-
-Supplier Type Part Numbers
-
-SR Modules
-Intel DUAL RATE 1G/10G SFP+ SR (bailed) FTLX8571D3BCV-IT
-Intel DUAL RATE 1G/10G SFP+ SR (bailed) AFBR-703SDZ-IN2
-Intel DUAL RATE 1G/10G SFP+ SR (bailed) AFBR-703SDDZ-IN1
-LR Modules
-Intel DUAL RATE 1G/10G SFP+ LR (bailed) FTLX1471D3BCV-IT
-Intel DUAL RATE 1G/10G SFP+ LR (bailed) AFCT-701SDZ-IN2
-Intel DUAL RATE 1G/10G SFP+ LR (bailed) AFCT-701SDDZ-IN1
-
-The following is a list of 3rd party SFP+ modules and direct attach cables that
-have received some testing. Not all modules are applicable to all devices.
-
-Supplier Type Part Numbers
-
-Finisar SFP+ SR bailed, 10g single rate FTLX8571D3BCL
-Avago SFP+ SR bailed, 10g single rate AFBR-700SDZ
-Finisar SFP+ LR bailed, 10g single rate FTLX8571D3BCV-IT
-
-Finisar DUAL RATE 1G/10G SFP+ SR (No Bail) FTLX8571D3QCV-IT
-Avago DUAL RATE 1G/10G SFP+ SR (No Bail) AFBR-703SDZ-IN1
-Finisar DUAL RATE 1G/10G SFP+ LR (No Bail) FTLX1471D3QCV-IT
-Avago DUAL RATE 1G/10G SFP+ LR (No Bail) AFCT-701SDZ-IN1
-Finistar 1000BASE-T SFP FCLF8522P2BTL
-Avago 1000BASE-T SFP ABCU-5710RZ
-
-NOTE: As of driver version 2.5.13 it is possible to allow the operation
-of unsupported modules by setting the static variable 'allow_unsupported_sfp'
-to TRUE and rebuilding the driver. If problems occur please assure that they
-can be reproduced with fully supported optics first.
-
-82599-based adapters support all passive and active limiting direct attach
-cables that comply with SFF-8431 v4.1 and SFF-8472 v10.4 specifications.
-
-Laser turns off for SFP+ when ifconfig down
---------------------------------------------------------
-"ifconfig down" turns off the laser for 82599-based SFP+ fiber adapters.
-"ifconfig up" turns on the later.
-
-82598-BASED ADAPTERS
-
-NOTES for 82598-Based Adapters:
-- Intel(R) Ethernet Network Adapters that support removable optical modules
- only support their original module type (i.e., the Intel(R) 10 Gigabit SR
- Dual Port Express Module only supports SR optical modules). If you plug
- in a different type of module, the driver will not load.
-- Hot Swapping/hot plugging optical modules is not supported.
-- Only single speed, 10 gigabit modules are supported.
-- LAN on Motherboard (LOMs) may support DA, SR, or LR modules. Other module
- types are not supported. Please see your system documentation for details.
-
-The following is a list of 3rd party SFP+ modules and direct attach cables that have
-received some testing. Not all modules are applicable to all devices.
-
-Supplier Type Part Numbers
-
-Finisar SFP+ SR bailed, 10g single rate FTLX8571D3BCL
-Avago SFP+ SR bailed, 10g single rate AFBR-700SDZ
-Finisar SFP+ LR bailed, 10g single rate FTLX1471D3BCL
-
-82598-based adapters support all passive direct attach cables that comply
-with SFF-8431 v4.1 and SFF-8472 v10.4 specifications. Active direct attach
-cables are not supported.
-
-Third party optic modules and cables referred to above are listed only for the
-purpose of highlighting third party specifications and potential compatibility,
-and are not recommendations or endorsements or sponsorship of any third party's
-product by Intel. Intel is not endorsing or promoting products made by any
-third party and the third party reference is provided only to share information
-regarding certain optic modules and cables with the above specifications. There
-may be other manufacturers or suppliers, producing or supplying optic modules
-and cables with similar or matching descriptions. Customers must use their own
-discretion and diligence to purchase optic modules and cables from any third
-party of their choice. Customer are solely responsible for assessing the
-suitability of the product and/or devices and for the selection of the vendor
-for purchasing any product. INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL
-DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF
-SUCH THIRD PARTY PRODUCTS OR SELECTION OF VENDOR BY CUSTOMERS.
-
-Configuration and Tuning
-========================
-
-The driver supports Transmit/Receive Checksum Offload and Jumbo Frames on
-all 10 Gigabit adapters.
-
- Jumbo Frames
- ------------
- To enable Jumbo Frames, use the ifconfig utility to increase the MTU
- beyond 1500 bytes.
-
- NOTES:
-
- - The Jumbo Frames setting on the switch must be set to at least
- 22 bytes larger than that of the adapter.
-
- - There are known performance issues with this driver when running
- UDP traffic with Jumbo Frames.
-
- The Jumbo Frames MTU range for Intel Adapters is 1500 to 16114. The default
- MTU range is 1500. To modify the setting, enter the following:
-
- ifconfig ix<interface_num> <hostname or IP address> mtu 9000
-
- To confirm an interface's MTU value, use the ifconfig command. To confirm
- the MTU used between two specific devices, use:
-
- route get <destination_IP_address>
-
- VLANs
- -----
- To create a new VLAN pseudo-interface:
-
- ifconfig <vlan_name> create
-
- To associate the VLAN pseudo-interface with a physical interface and
- assign a VLAN ID, IP address, and netmask:
-
- ifconfig <vlan_name> <ip_address> netmask <subnet_mask> vlan
- <vlan_id> vlandev <physical_interface>
-
- Example:
-
- ifconfig vlan10 10.0.0.1 netmask 255.255.255.0 vlan 10 vlandev ixgbe0
-
- In this example, all packets will be marked on egress with 802.1Q VLAN
- tags, specifying a VLAN ID of 10.
-
- To remove a VLAN pseudo-interface:
-
- ifconfig <vlan_name> destroy
-
-
- Checksum Offload
- ----------------
-
- Checksum offloading supports both TCP and UDP packets and is
- supported for both transmit and receive.
-
- Checksum offloading can be enabled or disabled using ifconfig.
- Both transmit and receive offloading will be either enabled or
- disabled together. You cannot enable/disable one without the other.
-
- To enable checksum offloading:
-
- ifconfig <interface_num> rxcsum
-
- To disable checksum offloading:
-
- ifconfig <interface_num> -rxcsum
-
- To confirm the current setting:
-
- ifconfig <interface_num>
-
-
- TSO
- ---
-
- TSO is enabled by default.
-
- To disable:
-
- ifconfig <interface_num> -tso
-
- To re-enable:
-
- ifconfig <interface_num> tso
-
- LRO
- ---
-
- Large Receive Offload is available in the driver; it is on by default.
- It can be disabled by using:
- ifconfig <interface_num> -lro
- To enable:
- ifconfig <interface_num> lro
-
-
- Important system configuration changes:
- ---------------------------------------
-
- When there is a choice run on a 64bit OS rather than 32, it makes a
- significant difference in improvement.
-
- The interface can generate a high number of interrupts. To avoid running
- into the limit set by the kernel, adjust hw.intr_storm_threshold
- setting using sysctl:
-
- sysctl hw.intr_storm_threshold=9000 (the default is 1000)
-
- For this change to take effect on boot, edit /etc/sysctl.conf and add the
- line:
- hw.intr_storm_threshold=9000
-
- If you still see Interrupt Storm detected messages, increase the limit to a
- higher number, or the detection can be disabled by setting it to 0.
-
- The default number of descriptors is 2048, increasing or descreasing
- may improve performance in some workloads, but change carefully.
-
-
-Known Limitations
-=================
-
-For known hardware and troubleshooting issues, refer to the following website.
-
- http://support.intel.com/support/go/network/adapter/home.htm
-
-Either select the link for your adapter or perform a search for the adapter
-number. The adapter's page lists many issues. For a complete list of hardware
-issues download your adapter's user guide and read the Release Notes.
Home |
Main Index |
Thread Index |
Old Index