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 57A6EA00C4; Tue, 26 Apr 2022 14:16:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3132240E78; Tue, 26 Apr 2022 14:16:52 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id E418D40C35 for ; Tue, 26 Apr 2022 14:16:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650975411; x=1682511411; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=lRBe1Ucih7mt4t08FSUJWTKd0TTm3UnZ3g4nihyrmaQ=; b=iaoI5RkKOYGwAz3Q2ssCbqPRbcJH2kjDK4BvKIpX8zntsALNQdQLmhS6 QX73F/4WhjRP4dX8n71r7TLX2uwdMqAYjHLDpUWSL9cdxuwgxCkeNH1cw nSCclZI81n+zFn+edQQl3O4oVM0lJgg70RrzFitRNJqnDuxyvBJ05l6fP XLKSBOB7skYsX5kC/I1Cs+WbFkhcdjV1Znc758vr5BJvWKGDvJBDXqeNq g0lDyYZ1TMHSqZvJKcSHdFWcCmGuTkYFJ5sqeJGSmS11/neMCmgUjOZY+ DMeufbaECRljahCajRtCx2LXRGFvlgrdRLtjrHHT5MK9qePvvDIg59YKj g==; X-IronPort-AV: E=McAfee;i="6400,9594,10328"; a="326045579" X-IronPort-AV: E=Sophos;i="5.90,290,1643702400"; d="scan'208";a="326045579" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2022 05:16:35 -0700 X-IronPort-AV: E=Sophos;i="5.90,290,1643702400"; d="scan'208";a="579860655" Received: from unknown (HELO localhost.localdomain) ([10.239.251.3]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2022 05:16:34 -0700 From: wenxuanx.wu@intel.com To: jingjing.wu@intel.com, beilei.xing@intel.com, dev@dpdk.org Cc: wenxuanx.wu@intel.com Subject: [PATCH] net/ivaf: make reset wait time longer Date: Tue, 26 Apr 2022 11:53:56 +0000 Message-Id: <20220426115356.1083409-1-wenxuanx.wu@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Wenxuan Wu In 810 CA series, reset time would be longer to wait the kernel return value. this patch enable reset wait time longer to finish kernel reset operation. Signed-off-by: Wenxuan Wu --- 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 a01d18e61b..6183fc40d6 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 100 #define IAVF_BUF_SIZE_MIN 1024 #define IAVF_FRAME_SIZE_MAX 9728 #define IAVF_QUEUE_BASE_ADDR_UNIT 128 -- 2.25.1