numam-dpdk/drivers/net/ixgbe/base
Matthew Smith 64f1c8539c net/ixgbe: wait longer for link after fiber MAC setup
After setting up the link on a fiber port, the maximum wait time for
the link to come up is 500 ms in ixgbe_setup_mac_link_multispeed_fiber().
On an x550 SFP+ port, this is often not sufficiently long for the link
to come up. This can result in never being able to retrieve accurate
link status for the port using rte_eth_link_get_nowait().

Increase the maximum wait time in ixgbe_setup_mac_link_multispeed_fiber()
to 1 s.

Bugzilla ID: 69
Fixes: f3430431ab ("ixgbe/base: add SFP+ dual-speed support")
Cc: stable@dpdk.org

Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2018-10-11 18:53:48 +02:00
..
ixgbe_82598.c net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_82598.h net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_82599.c net/ixgbe/base: cleanup codes 2018-09-28 01:41:02 +02:00
ixgbe_82599.h net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_api.c net/ixgbe/base: add FW recovery mode check 2018-09-28 01:41:02 +02:00
ixgbe_api.h net/ixgbe/base: add FW recovery mode check 2018-09-28 01:41:02 +02:00
ixgbe_common.c net/ixgbe: wait longer for link after fiber MAC setup 2018-10-11 18:53:48 +02:00
ixgbe_common.h net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_dcb_82598.c net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_dcb_82598.h net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_dcb_82599.c net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_dcb_82599.h net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_dcb.c net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_dcb.h net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_hv_vf.c net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_hv_vf.h net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_mbx.c net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_mbx.h net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_osdep.h net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_phy.c net/ixgbe/base: cleanup codes 2018-09-28 01:41:02 +02:00
ixgbe_phy.h net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_type.h net/ixgbe/base: support DCB registers dump 2018-09-28 01:41:02 +02:00
ixgbe_vf.c net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_vf.h net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_x540.c net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_x540.h net/ixgbe/base: update the license 2018-09-28 01:41:01 +02:00
ixgbe_x550.c net/ixgbe/base: update X550 SFP identification 2018-09-28 01:41:02 +02:00
ixgbe_x550.h net/ixgbe/base: add FW recovery mode check 2018-09-28 01:41:02 +02:00
meson.build net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
README net/ixgbe/base: update version 2018-09-28 01:41:02 +02:00

..
     BSD LICENSE
   
     Copyright(c) 2010-2018 Intel Corporation. All rights reserved.
     All rights reserved.
   
     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions
     are met:
   
       * Redistributions of source code must retain the above copyright
         notice, this list of conditions and the following disclaimer.
       * 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.
       * Neither the name of 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.

Intel® IXGBE driver
===================

This directory contains source code of FreeBSD ixgbe driver of version
cid-ixgbe.2018.08.28.tar.gz released by the team which develop
basic drivers for any ixgbe NIC. The sub-directory of base/
contains the original source package.
This driver is valid for the product(s) listed below

* Intel® 10 Gigabit AF DA Dual Port Server Adapter
* Intel® 10 Gigabit AT Server Adapter
* Intel® 10 Gigabit AT2 Server Adapter
* Intel® 10 Gigabit CX4 Dual Port Server Adapter
* Intel® 10 Gigabit XF LR Server Adapter
* Intel® 10 Gigabit XF SR Dual Port Server Adapter
* Intel® 10 Gigabit XF SR Server Adapter
* Intel® 82598 10 Gigabit Ethernet Controller
* Intel® 82599 10 Gigabit Ethernet Controller
* Intel® Ethernet Controller X540-AT2
* Intel® Ethernet Server Adapter X520 Series
* Intel® Ethernet Server Adapter X520-T2
* Intel® Ethernet Controller X550 Series

Updating the driver
===================

NOTE: The source code in this directory should not be modified apart from
the following file(s):

    ixgbe_osdep.h