HomeFreeBSD

ixgbe: increase VF reset timeout

Description

ixgbe: increase VF reset timeout

DPDK commit meesage

When VF issues a reset to PF there is a 50 msec wait plus an additional
max of 1 msec (200 * 5us) for the PF to indicate the reset is complete
before timeout.

In some cases, it is seen that the reset is timing out, in which case
the reset does not complete and an error is returned.

In order to account for this, continue to wait an initial 50 msecs, but
then allow a max of an additional 50 msecs (10,000 * 5us) for the
command to complete.

Fixes: af75078 ("first public release")
Cc: stable@dpdk.org

Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>

Obtained from: DPDK (64e714f)

(cherry picked from commit 28fdb212adc0431fff683749a1307038e25ff58e)

Details

Provenance
Kevin Traynor <ktraynor@redhat.com>Authored on Sep 19 2024, 8:29 PM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Sep 26 2024, 3:32 AM
Parents
rG6f5092ed7503: e1000: fix link power down
Branches
Unknown
Tags
Unknown

Event Timeline

Kevin Bowling <kbowling@FreeBSD.org> committed rGaa9cac54b805: ixgbe: increase VF reset timeout (authored by Kevin Traynor <ktraynor@redhat.com>).Sep 26 2024, 3:32 AM