From nobody Thu Sep 26 03:33:37 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 4XDfMP37RBz5Y6pB; Thu, 26 Sep 2024 03:33:37 +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 4XDfMP2R8Lz4Y8y; Thu, 26 Sep 2024 03:33:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727321617; 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=HcN7hh1CwHabo1fryKbOLNPTUSVwpab6NaPTCBYUY7I=; b=HdVIa2sN0T8fmfKs1reZ74eYMsuc7jFs6mziN1KkzF/R79mhXM2kHD67UBWwygdpgKA4zX xzi/0wvFQG6ZUxKI/At4IutniiP0YH65qMAZkgEDWiLVykEd76ke0skgpjd17RX4ffAEkm 4UBl5mssQrNwcxSMkhVBUQeNXmMlu3BPbD9+d6Z0i2NObGZBb2SPnEkZquovDtmtJLRsGj Jh8tF/+887PrOY35su08YlpYRtiAE7jYQ3ivLIeYbOHG7Bba88t8Swpu+ApwbP95P2ND2S l8rG5he2IKvy6JQk6HwPjhN90hzWpfrpDraVJUDfJ9TouDaVcmhae2oAgWeesA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727321617; 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=HcN7hh1CwHabo1fryKbOLNPTUSVwpab6NaPTCBYUY7I=; b=abSDBfJ9qMrHWnNiYA7P8VvozOEPnuCfTrwGXHc26NfsuA+4L2chWuJLTWxl+JZDiJsUiu ud49yD5HMp20AL1WI79/HSOzu63vzIigHfQhqPUtHpk3lCeUrXBagK/vNkiURDY9FvnS5/ cWJu53HKXkc4j0VV8houCxJnLRcn3j/IooazTw9rZTSDAlb8pHj9O1KHjqE4q6uA0UnXYN xOFxbvl9+ZZEx+A0A7Mi16cPEJLKFkW2/lPaxhvH6LRiGpcG+Z39Hk4r4vDwAJx1ViVNX2 Dwj2XGCClBmZ4ldxwoiULWE1YLnISiJft8NRUK2ci9XtrSiTfS1o0lAKfGhQ+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727321617; a=rsa-sha256; cv=none; b=QGR2MABbMK+SI9jvF2oXmtxnGKIdarL3PG2iBNx2jI8obU5QP3qhGJFqaCPzuF7gy3IGDJ 54g3aGdWfkxoKipPo7MN5eB14yD9i8QCkk+98yE9V9U3q8Ipweyfml9ek38LzzX7b3faL5 g4+0jzTpfl7VNxaLbiz7den2yclZE74EOvzD2R5Agc7W31wcpqI45KbD4W02O0EFPPoPB9 i5WFkOlhaTcM6rp52lPpYFYjCT5tIAlkaGeQdF9tNCzEkaGxuERl/HvpTZ/zSR7e3F6vN3 OISEvUg4zU4lwgMi9qFiNaLE8KZBx3u7zHU8NGrINVVUoAmHe16rD0Y6DKkD3A== 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 4XDfMP22Xjzgvl; Thu, 26 Sep 2024 03:33:37 +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 48Q3Xbwl099083; Thu, 26 Sep 2024 03:33:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48Q3XbOC099080; Thu, 26 Sep 2024 03:33:37 GMT (envelope-from git) Date: Thu, 26 Sep 2024 03:33:37 GMT Message-Id: <202409260333.48Q3XbOC099080@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: aa9cac54b805 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: aa9cac54b805b16b2f3de6ea583e16813e770ca8 Auto-Submitted: auto-generated The branch stable/13 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=aa9cac54b805b16b2f3de6ea583e16813e770ca8 commit aa9cac54b805b16b2f3de6ea583e16813e770ca8 Author: Kevin Traynor AuthorDate: 2024-09-19 20:29:34 +0000 Commit: Kevin Bowling CommitDate: 2024-09-26 03:32:20 +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