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 5EC8E41B98; Thu, 9 Feb 2023 07:56:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5392740DDA; Thu, 9 Feb 2023 07:56:36 +0100 (CET) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id ECE9C4067B for ; Thu, 9 Feb 2023 07:56:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675925795; x=1707461795; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=U6E2+OhoSFrCKC4HpMOHC1MXOvZcx3WicoIowzecNxM=; b=a29wOwoBS8t/g5/StN0siS/BuTRXVBLj6eIf6bOUNaefM2opdj4ROnKM bGj2ryR5fIMCzGoidoyYMs8TgD+keEC59dMmTNXj+43yavu5+VC72cFvf Jm0Mv31eR+9VGkyyDikKp+sxHrqQVP9KBRG9U5fyGRSDhB3ECWHaBfQyh +5aMc2R+fB3yCIdyEUtVtE2a/bKnMWsNl5JScl9bVRZBg96Bs8wW8zcvm fZdKc58p8BlsVl5bMimBg2gVSbxY8x0IQWps5pvKGtzjUwIh5eVYRMWhx TWevC5OBCw/eove5MSred1Nv9jJl+b96erwKgaL9o+H3ogW8jgqKMF1jS Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10615"; a="392420765" X-IronPort-AV: E=Sophos;i="5.97,281,1669104000"; d="scan'208";a="392420765" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2023 22:56:34 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10615"; a="810224089" X-IronPort-AV: E=Sophos;i="5.97,281,1669104000"; d="scan'208";a="810224089" Received: from unknown (HELO localhost.localdomain) ([10.239.252.20]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2023 22:56:33 -0800 From: Song Jiale To: dts@dpdk.org Cc: Song Jiale Subject: [dts] [PATCH V1 1/4] test_plans/pmd_bonded_8023ad: modify the script to adapt to changes in dpdk Date: Thu, 9 Feb 2023 14:53:48 +0000 Message-Id: <20230209145351.1140496-2-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230209145351.1140496-1-songx.jiale@intel.com> References: <20230209145351.1140496-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 | 118 +++++++++++++++++++-- 1 file changed, 108 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..f5087993 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,60 @@ 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: 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 #. check if bonded port can start:: -- 2.25.1