From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4F1ECA055C for ; Fri, 27 May 2022 04:58:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47CA840E25; Fri, 27 May 2022 04:58:38 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 18F5340E25; Fri, 27 May 2022 04:58:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653620316; x=1685156316; h=from:to:cc:subject:date:message-id; bh=12pH9IFTTiEQ+yYjacbcJmO3F7JtV0IjqcWN3Cm0vy0=; b=dI1sCipIF2FWbzGnpkCiGWXhH32UiTz+tnU1kioxk5srC2yL8sqJ4Exc R6ZVodTT0btIS6r9Si1qt2Lu/r+agnN3is0GU+UFsiIaBzVTK+6mCpaag o0MahNQ3Gt+9I3jZRNGJjZDfK3r1lYOwTJA2hOJmhxgZQza783XjH+ROF F3JtWIoJPLHlqnNrOhl4MAvswG3NNpds0LAidMI0cYY94NgCMBlm7a/FU CJoUS5Kzb8R1gf1dyMZ3AoZVxjoH1jXqan4JZuXcFxAEy14ERxzqjlkj4 yWBiF1e9xEe2Fv5BBNdaVzy68TdUB8Cocz5WktWqvQZRTg5BsHt3K4muy g==; X-IronPort-AV: E=McAfee;i="6400,9594,10359"; a="274462833" X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="274462833" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2022 19:58:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="603600699" Received: from dpdk-qiming1.sh.intel.com ([10.67.118.152]) by orsmga008.jf.intel.com with ESMTP; 26 May 2022 19:58:33 -0700 From: Qiming Yang To: dev@dpdk.org Cc: beilei.xing@intel.com, Qiming Yang , stable@dpdk.org Subject: [PATCH] net/iavf: increase the reset complete wait count Date: Fri, 27 May 2022 10:13:15 +0800 Message-Id: <20220527021315.110411-1-qiming.yang@intel.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Kernel iavf driver has sent patch to increase the completion wait time to reduce the "Reset never finished" case. Follow this action in DPDK iavf driver. Fixes: 22b123a36d07 ("net/avf: initialize PMD") Cc: stable@dpdk.org Signed-off-by: Qiming Yang --- drivers/net/iavf/iavf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/iavf/iavf.h b/drivers/net/iavf/iavf.h index f1c2daa06e..025ab3ff60 100644 --- a/drivers/net/iavf/iavf.h +++ b/drivers/net/iavf/iavf.h @@ -18,7 +18,7 @@ #define IAVF_AQ_LEN 32 #define IAVF_AQ_BUF_SZ 4096 -#define IAVF_RESET_WAIT_CNT 50 +#define IAVF_RESET_WAIT_CNT 500 #define IAVF_BUF_SIZE_MIN 1024 #define IAVF_FRAME_SIZE_MAX 9728 #define IAVF_QUEUE_BASE_ADDR_UNIT 128 -- 2.17.1