From patchwork Thu Aug 18 05:43:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Ke1X" X-Patchwork-Id: 115218 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8D024A00C4; Thu, 18 Aug 2022 07:52:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3314C40DDC; Thu, 18 Aug 2022 07:52:20 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 79D8E40DDC; Thu, 18 Aug 2022 07:52:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660801937; x=1692337937; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=D3SB4px94vxQ6h8et6GbryJCAl7St1Z/xvDp+bOyxF4=; b=nMpaDGkf3BBb29WF5mSS2962LtnWbK7Fi0Fbyy3vHuBFufnkPIjiO2wp +TZHl5u1MnZZ7Q7YXPZLe/ZCVgPcgqdGf+dc7T/4NE5DranOb+D7SJAJV 9DaxbaYaMEHXUUJG6akcQxy66VuOKVnnkf6nxi+Wg7I9rFI4gcJwmXmHw ysLp0NbKwiiKDQ9RahfoWLMXg0iSRy/qo3iKE235LHrPn642NtxuS42p4 gX5az9K647QsQKOgCeLQNbQ/hFhO5SeBBLyMnYIsA9qV2leMQnJyLlDUK gmH2zEXcV++gBDh+0GBorUSNhaz6OicLkT6t29eaSPOan1z7X9+9FPMUV w==; X-IronPort-AV: E=McAfee;i="6500,9779,10442"; a="318689890" X-IronPort-AV: E=Sophos;i="5.93,245,1654585200"; d="scan'208";a="318689890" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2022 22:52:16 -0700 X-IronPort-AV: E=Sophos;i="5.93,245,1654585200"; d="scan'208";a="640724249" Received: from unknown (HELO localhost.localdomain) ([10.239.252.104]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2022 22:52:14 -0700 From: Ke Zhang To: chas3@att.com, humin29@huawei.com, dev@dpdk.org Cc: Ke Zhang , stable@dpdk.org Subject: [PATCH] app/test: fix LACP handshake overtime Date: Thu, 18 Aug 2022 13:43:41 +0800 Message-Id: <20220818054341.93517-1-ke1x.zhang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 Increase the loop count so that there is a longer threshold time for the LACP handshake process. Fixes: 5e41ab250dfa ("app/test: unit tests for bonding mode 4") Cc: stable@dpdk.org Signed-off-by: Ke Zhang --- app/test/test_link_bonding_mode4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_link_bonding_mode4.c b/app/test/test_link_bonding_mode4.c index d9b9c323c7..bfdd18cdd1 100644 --- a/app/test/test_link_bonding_mode4.c +++ b/app/test/test_link_bonding_mode4.c @@ -613,7 +613,7 @@ bond_handshake(void) /* Exchange LACP frames */ all_slaves_done = 0; - for (i = 0; i < 30 && all_slaves_done == 0; ++i) { + for (i = 0; i < 60 && all_slaves_done == 0; ++i) { rte_delay_ms(delay); all_slaves_done = 1;