Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2024 03:29:49 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 7f89ee2c304d - stable/14 - ixgbe: increase VF reset timeout
Message-ID:  <202409260329.48Q3TnXx082648@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=7f89ee2c304d647de5528abd0519cd39365cb50a

commit 7f89ee2c304d647de5528abd0519cd39365cb50a
Author:     Kevin Traynor <ktraynor@redhat.com>
AuthorDate: 2024-09-19 20:29:34 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-09-26 03:28:13 +0000

    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)
---
 sys/dev/ixgbe/ixgbe_type.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/ixgbe/ixgbe_type.h b/sys/dev/ixgbe/ixgbe_type.h
index b8aeaf51f86c..deb68fa03312 100644
--- a/sys/dev/ixgbe/ixgbe_type.h
+++ b/sys/dev/ixgbe/ixgbe_type.h
@@ -1832,7 +1832,7 @@ enum {
 /* VFRE bitmask */
 #define IXGBE_VFRE_ENABLE_ALL	0xFFFFFFFF
 
-#define IXGBE_VF_INIT_TIMEOUT	200 /* Number of retries to clear RSTI */
+#define IXGBE_VF_INIT_TIMEOUT	10000 /* Number of retries to clear RSTI */
 
 /* RDHMPN and TDHMPN bitmasks */
 #define IXGBE_RDHMPN_RDICADDR		0x007FF800



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409260329.48Q3TnXx082648>