The branch main has been updated by kbowling:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=28fdb212adc0431fff683749a1307038e25ff58e

commit 28fdb212adc0431fff683749a1307038e25ff58e
Author:     Kevin Traynor <[email protected]>
AuthorDate: 2024-09-19 20:29:34 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2024-09-19 20:29:34 +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: [email protected]
    
    Signed-off-by: Kevin Traynor <[email protected]>
    Acked-by: Vladimir Medvedkin <[email protected]>
    
    Obtained from:  DPDK (64e714f)
    MFC after:      1 week
---
 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

Reply via email to