numam-dpdk/drivers/net/ixgbe/base
Stephen Douthit 774263bb4e net/ixgbe: retry misbehaving SFP read
Some XGS-PON SFPs have been observed ACKing I2C reads and returning
uninitialized garbage while their uC boots.  This can lead to the SFP ID
code marking an otherwise working SFP module as unsupported if a bogus
ID value is read while its internal PHY/microcontroller is still
booting.

Retry the ID read several times looking not just for NAK, but also for a
valid ID field.

Since the device isn't NAKing the transaction, the existing longer retry
code in ixgbe_read_i2c_byte_generic_int() doesn't apply here.

Signed-off-by: Stephen Douthit <stephend@silicom-usa.com>
Signed-off-by: Jeff Daly <jeffd@silicom-usa.com>
Reviewed-by: Haiyue Wang <haiyue.wang@intel.com>
2022-04-18 07:47:18 +02:00
..
ixgbe_82598.c net/ixgbe/base: remove whitespace in function comments 2020-07-11 06:18:53 +02:00
ixgbe_82598.h net/ixgbe/base: update copyright 2020-05-18 20:35:57 +02:00
ixgbe_82599.c net/ixgbe/base: add IPv6 mask for flow director 2020-07-11 06:18:53 +02:00
ixgbe_82599.h net/ixgbe/base: update copyright 2020-05-18 20:35:57 +02:00
ixgbe_api.c net/ixgbe/base: remove whitespace in function comments 2020-07-11 06:18:53 +02:00
ixgbe_api.h net/ixgbe/base: update copyright 2020-05-18 20:35:57 +02:00
ixgbe_common.c net/ixgbe/base: cleanup pre-processor tags 2020-07-11 06:18:53 +02:00
ixgbe_common.h net/ixgbe/base: remove unnecessary return value check 2020-07-11 06:18:53 +02:00
ixgbe_dcb_82598.c net/ixgbe/base: add typecast for type mismatch 2020-07-11 06:18:53 +02:00
ixgbe_dcb_82598.h net/ixgbe/base: update copyright 2020-05-18 20:35:57 +02:00
ixgbe_dcb_82599.c net/ixgbe/base: add typecast for type mismatch 2020-07-11 06:18:53 +02:00
ixgbe_dcb_82599.h net/ixgbe/base: update copyright 2020-05-18 20:35:57 +02:00
ixgbe_dcb.c net/ixgbe/base: remove whitespace in function comments 2020-07-11 06:18:53 +02:00
ixgbe_dcb.h net/ixgbe/base: update copyright 2020-05-18 20:35:57 +02:00
ixgbe_hv_vf.c net/ixgbe: build on Windows 2021-10-07 14:47:35 +02:00
ixgbe_hv_vf.h net/ixgbe/base: update copyright 2020-05-18 20:35:57 +02:00
ixgbe_mbx.c net/ixgbe/base: remove whitespace in function comments 2020-07-11 06:18:53 +02:00
ixgbe_mbx.h net/ixgbe/base: update copyright 2020-05-18 20:35:57 +02:00
ixgbe_osdep.h net/ixgbe: build on Windows 2021-10-07 14:47:35 +02:00
ixgbe_phy.c net/ixgbe: retry misbehaving SFP read 2022-04-18 07:47:18 +02:00
ixgbe_phy.h net/ixgbe/base: cleanup pre-processor tags 2020-07-11 06:18:53 +02:00
ixgbe_type.h net/ixgbe/base: cleanup pre-processor tags 2020-07-11 06:18:53 +02:00
ixgbe_vf.c net/ixgbe: clear all queues on VF reset 2021-01-08 16:03:06 +01:00
ixgbe_vf.h net/ixgbe/base: update copyright 2020-05-18 20:35:57 +02:00
ixgbe_x540.c fix spellings that Lintian complains about 2020-11-04 20:11:31 +01:00
ixgbe_x540.h net/ixgbe/base: update copyright 2020-05-18 20:35:57 +02:00
ixgbe_x550.c net/ixgbe/base: check host interface return status 2020-07-11 06:18:53 +02:00
ixgbe_x550.h net/ixgbe/base: update copyright 2020-05-18 20:35:57 +02:00
meson.build net/ixgbe: build on Windows 2021-10-07 14:47:35 +02:00
README net/ixgbe/base: update version 2020-07-11 06:18:53 +02:00

/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2010-2020 Intel Corporation
 */

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

This directory contains source code of FreeBSD ixgbe driver of version
not-released-cid-ixgbe.2020.06.09.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