]> git.droids-corp.org - dpdk.git/commit
net/ixgbe: add option for link up check on pin SDP3
authorJeff Daly <jeffd@silicom-usa.com>
Tue, 10 May 2022 18:57:25 +0000 (14:57 -0400)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 17 May 2022 00:47:34 +0000 (02:47 +0200)
commit0f9fb100f6c6ed1dcadaf76352f4b4f2bd5501f6
treeeb9d3374b80c0021ba8a7f61db405856870d4cc7
parent9a7980cfdf6786c295ae9fff6a9a363a6ab8015f
net/ixgbe: add option for link up check on pin SDP3

1ca05831b9b added a check that SDP3 (used as a TX_DISABLE output to the
SFP cage on these cards) is not asserted to avoid incorrectly reporting
link up when the SFP's laser is turned off.

ff8162cb957 limited this workaround to fiber ports

This patch:
* Adds devarg 'fiber_sdp3_no_tx_disable' not all fiber ixgbe devs use
  SDP3 as TX_DISABLE

Fixes: 1ca05831b9b ("net/ixgbe: fix link status")
Fixes: ff8162cb957 ("net/ixgbe: fix link status")
Cc: stable@dpdk.org
Signed-off-by: Jeff Daly <jeffd@silicom-usa.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
doc/guides/nics/ixgbe.rst
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_ethdev.h