From nobody Thu Sep 19 20:30:46 2024 X-Original-To: dev-commits-src-main@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 4X8nGH5MVFz5XMDX; Thu, 19 Sep 2024 20:30:47 +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 4X8nGH2GcWz4fwP; Thu, 19 Sep 2024 20:30:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726777847; 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=IOYDB1tBeqVU3LQJ3dQ8jHQoGsspPGGs9PZGOa0X4KU=; b=SpU236FY0BUDL1iAS/YBHiCbvopJRvyXh8O3mn+iAaRHYfrBf5O8/OqNELp65jv95ILtA9 5WmEI2odIIltjRIJu5mzoJ+ictMZ8pY1ZYh3+MDN/yVdev4cPwpiKt/3z2o+62YVSiUOL4 CL9JxnMkiw1tv8xc2gyu5cpIPpvQALFYOyb1ktSNzZzVRjBk03NYG3WCbBeo/KFfJ4+TV4 iWEyn+JDU+3gUHqRoL474qehC/SBgTfhF4NjCvV4HUv6stlXmWgu1UFqx522tb0fhtWJdF AMgUET25h6VciCc2XTqi5ncYE61GBD3kOPbyJDt8lFO5mFWsOFu6rHsvB9vgQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726777847; a=rsa-sha256; cv=none; b=py8g12uauGDbINB/OCXdCk0N8I/qEGbU1j6Y9RnNmccLYyuwXOWM4uz5wCvB7umLL8afsk fqKSv7MeyRkx2uqNe1VTrqCNUbRaxwOxn1lcs6WrxqAGRk3CDNVilhOOHR/YH7+m/EF10Q yZsiJ1g2HEd7YUot+KFKrpCK+qJAVm9j4RvTWGoeAErF8TAZ5yQ50XJV1J+1/YuXWTgr6x 4oKKN7Uu5B0Xk2w1hrYm0I8SSEB82Km0Du8Aw+SSd/D6VflUxSsPoFN5E/StbfFjhVfI9G gCO2hsRre/LsMaINoE+cmvlSsw73DZvn/9I+t7jyrIAa1mvAHc1rZUK+F+HR/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726777847; 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=IOYDB1tBeqVU3LQJ3dQ8jHQoGsspPGGs9PZGOa0X4KU=; b=m8WLMTWbNZQxO4Fbk7QhGQQ2cNO79Lys0HtA5hPuSKoiZgnKBSOTs1YFg9HpCsOaJRiyZB uA+/H/+75/6N/qnU4d7NAC8HsRRhhRA+WfXzz4vbyRLhNjHEDIC59/bTNUusWanCM+mxYU V8QCYmSazj9DIyFZYdiqGHNTuZXta+SVfhDRFossYY9VOnQAey5l9V/+ueIeac6zSBaSLM naImrvCwrgQrwuzTrARxc+5NzCVgwUhobTkaT905UbJ+j0tTk0hPjupgjRcwbA1DwnUAr7 rsR7rDrMypkKxWetQpuMqhnflSbGH4KhiKFkH9PbJxycFCOvV3Y6xp+LB/iyFA== 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 4X8nGH1BYwzKvm; Thu, 19 Sep 2024 20:30:47 +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 48JKUk5W063729; Thu, 19 Sep 2024 20:30:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48JKUksC063726; Thu, 19 Sep 2024 20:30:46 GMT (envelope-from git) Date: Thu, 19 Sep 2024 20:30:46 GMT Message-Id: <202409192030.48JKUksC063726@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: 28fdb212adc0 - main - ixgbe: increase VF reset timeout List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 28fdb212adc0431fff683749a1307038e25ff58e Auto-Submitted: auto-generated The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=28fdb212adc0431fff683749a1307038e25ff58e commit 28fdb212adc0431fff683749a1307038e25ff58e Author: Kevin Traynor AuthorDate: 2024-09-19 20:29:34 +0000 Commit: Kevin Bowling 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: stable@dpdk.org Signed-off-by: Kevin Traynor Acked-by: Vladimir Medvedkin 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