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 E798F41CB9; Fri, 17 Feb 2023 05:23:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DD928410F6; Fri, 17 Feb 2023 05:23:18 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id BF2D2410EE for ; Fri, 17 Feb 2023 05:23:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676607796; x=1708143796; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7XgdXrdqh5hId593unuk6qRievmBBll1JKxTOlAdPrA=; b=Rw3Jz/rDS3qvz0JDBlW0afjc0KMFM2q5LD4mKH/aVfP1NRDK/utZ4cIr jFabFQe9xasAeF4AQW4bx9ijBwZU9Bn9rKweFoGLMoD6PUy/taRRVJUgD 27C3r3BJJTuHNZjCB+DS4k6omdDTWLruKau7kOPmgOJ1jHkz50XtbCVH7 syzfzr35/xKpZFMEvXRC6P3Y06hQsrHS9WxFIHc8mLvjjkuxWZ6GRN2JX H6vgh3iKeNNPjsAZIGF9FArTMUA7VMqvG9CZH2mOqb8KSaikOJNjjVcVK XtKu8kptYzyqWtHKDDhJasdNLOUFw2VCzRY7MkW5z0ILV2CJrDXzySFC0 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10623"; a="359353884" X-IronPort-AV: E=Sophos;i="5.97,304,1669104000"; d="scan'208";a="359353884" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2023 20:23:16 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10623"; a="663757839" X-IronPort-AV: E=Sophos;i="5.97,304,1669104000"; d="scan'208";a="663757839" Received: from unknown (HELO localhost.localdomain) ([10.239.252.20]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2023 20:23:15 -0800 From: Song Jiale To: dts@dpdk.org Cc: Song Jiale Subject: [dts] [PATCH V2 2/5] test_plans/pmd_bonded_8023ad: modify script to adapt changes in dpdk Date: Fri, 17 Feb 2023 12:20:20 +0000 Message-Id: <20230217122023.2345221-3-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230217122023.2345221-1-songx.jiale@intel.com> References: <20230217122023.2345221-1-songx.jiale@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org the display information of the binding port in dpdk-testpmd has changed. modify the script to adapt to this change. According to dpdk commit f3b5f3d35c59e1("app/testpmd: use dump API to show bonding info"). Signed-off-by: Song Jiale --- test_plans/pmd_bonded_8023ad_test_plan.rst | 82 +++++++++++++++++++--- 1 file changed, 72 insertions(+), 10 deletions(-) diff --git a/test_plans/pmd_bonded_8023ad_test_plan.rst b/test_plans/pmd_bonded_8023ad_test_plan.rst index f54c51d2..7c4a4d69 100644 --- a/test_plans/pmd_bonded_8023ad_test_plan.rst +++ b/test_plans/pmd_bonded_8023ad_test_plan.rst @@ -293,11 +293,60 @@ steps #. check if agg_mode set successful:: testpmd> show bonding config 2 - Bonding mode: 4 - IEEE802.3AD Aggregator Mode: - Slaves (2): [0 1] - Active Slaves (2): [0 1] - Primary: [0] + - Dev basic: + Bonding mode: 8023AD(4) + Balance Xmit Policy: BALANCE_XMIT_POLICY_LAYER2 + IEEE802.3AD Aggregator Mode: + Slaves (2): [0 1] + Active Slaves (2): [0 1] + Current Primary: [0] + - Lacp info: + IEEE802.3 port: 2 + fast period: 900 ms + slow period: 29000 ms + short timeout: 3000 ms + long timeout: 90000 ms + aggregate wait timeout: 2000 ms + tx period: 500 ms + rx marker period: 2000 ms + update timeout: 100 ms + aggregation mode: count + + Slave Port: 0 + Aggregator port id: 0 + selection: SELECTED + Actor detail info: + system priority: 65535 + system mac address: 7A:1A:91:74:32:46 + port key: 8448 + port priority: 65280 + port number: 256 + port state: ACTIVE AGGREGATION DEFAULTED + Partner detail info: + system priority: 65535 + system mac address: 00:00:00:00:00:00 + port key: 256 + port priority: 65280 + port number: 0 + port state: ACTIVE + + Slave Port: 1 + Aggregator port id: 0 + selection: SELECTED + Actor detail info: + system priority: 65535 + system mac address: 5E:F7:F5:3E:58:D8 + port key: 8448 + port priority: 65280 + port number: 512 + port state: ACTIVE AGGREGATION DEFAULTED + Partner detail info: + system priority: 65535 + system mac address: 00:00:00:00:00:00 + port key: 256 + port priority: 65280 + port number: 0 + port state: ACTIVE #. quit testpmd:: @@ -384,11 +433,24 @@ steps #. check if bonded device has been created and slaves have been bonded successful:: testpmd> show bonding config 2 - Bonding mode: 4 - IEEE802.3AD Aggregator Mode: - Slaves (2): [0 1] - Active Slaves (2): [0 1] - Primary: [0] + - Dev basic: + Bonding mode: 8023AD(4) + Balance Xmit Policy: BALANCE_XMIT_POLICY_LAYER2 + IEEE802.3AD Aggregator Mode: + Slaves (2): [0 1] + Active Slaves (2): [0 1] + Current Primary: [0] + - Lacp info: + IEEE802.3 port: 2 + fast period: 900 ms + slow period: 29000 ms + short timeout: 3000 ms + long timeout: 90000 ms + aggregate wait timeout: 2000 ms + tx period: 500 ms + rx marker period: 2000 ms + update timeout: 100 ms + aggregation mode: #. check if bonded port can start:: -- 2.25.1