From nobody Thu Sep 26 03:29:49 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XDfH22sKZz5Y6P1; Thu, 26 Sep 2024 03:29:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XDfH20Cs1z4W4Y; Thu, 26 Sep 2024 03:29:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727321390; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HuT2t+L34sRz/+ErwPz+u80J8g9avC7cxmo99erqu9U=; b=WvRKJ/sY9Cu9mA3FrrllXL3mkie8RZIoQn8mb4upMLQpzQNgdyttEOkHkr/3h5SNq0QnnR bfRtQ+z8M92BjM0/DbBQ/c8Dk9IV+/8nHoCXgqiIjif/V0Bw7iK13XF1a40XtKOI48rdsS yABBpeGEzv9R4yefu0a4rNhEHDwEEHHjcddEyrYo4sefeW12+t++2Fb+c+ORYasnG5aRsD sANHtx8qcVy5uZl7Zg4oiFcztVzFHXyIVEbTnYJW8FATSyrzYoIDNRoUwSzLuKTtgCy/TZ fSsz5k81qOiQmR2UtjQDapc3+EmEaYh66w3/1eif97TZQD5qdU2e9ZrrgewzDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727321390; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HuT2t+L34sRz/+ErwPz+u80J8g9avC7cxmo99erqu9U=; b=sKrb7UthbufYRTrnwFU4njyk+aByBu2sSGdvNMe6UFzOAaZvOFVdGUTa2IVPJ9VyWgk51U tIY6z5XYUqCaXFofSIoIAblWcFHtO4Cz7vY/1EZQ+nFRLPuNZP/bxhCECogSgXWJ3ABnc1 rygxo2gLp6ucY7bw+xdxbMhAK41WyhDOH6ABAvcpHjjKzsEwv/mLWnupecQujFtRLLVDEP ZXtGWGrxOCmg8kAAwHgtT1yw+yRAPrf1yFzKlLkXnCawqdVNBtySYEiUAyP8WxGFJ5kAa7 8Djnx9vKiYf+mHCouJlL5bsTFP2QO6V5cZ20FkgqeLedzE44QRBpJ3G9yCkorA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727321390; a=rsa-sha256; cv=none; b=QeT0u9Np9ZrBNrQPPBbYZGKC1TmoWV0z9afjFnzNW97KKLGpsfHTUoTgwdqaxXYM6GsPAK N3YqOpjtDbbXSoQuj3DmUdn0bbz42wpDpRyCU6iHCObHzl1VnoApA6pZiqYSoxrsw6vPsA IlXuRmQWwilx/coHteoR4VbqL20uYwirx2qiR4P+nDpzYu5aiSaBKebVlfMmYnSXtD9NJB Hi5ckjcPjHMQFkdqZbA0fTmfMHiygwDPpXo4fxMe0Sn873DyQKjtajjWdGeYJa9MGij6tm C/GcHt19zQX0QKZ86CaMgFbQ8XDMa/+NlhESynxMXz/L/C08UFnTGOjNRZAK+g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XDfH16jHLzg6w; Thu, 26 Sep 2024 03:29:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48Q3TnsJ082651; Thu, 26 Sep 2024 03:29:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48Q3TnXx082648; Thu, 26 Sep 2024 03:29:49 GMT (envelope-from git) Date: Thu, 26 Sep 2024 03:29:49 GMT Message-Id: <202409260329.48Q3TnXx082648@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: 7f89ee2c304d - stable/14 - ixgbe: increase VF reset timeout List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 7f89ee2c304d647de5528abd0519cd39365cb50a Auto-Submitted: auto-generated The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=7f89ee2c304d647de5528abd0519cd39365cb50a commit 7f89ee2c304d647de5528abd0519cd39365cb50a Author: Kevin Traynor AuthorDate: 2024-09-19 20:29:34 +0000 Commit: Kevin Bowling 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 Acked-by: Vladimir Medvedkin 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