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 4B1C941CB9; Fri, 17 Feb 2023 05:23:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 427044113F; Fri, 17 Feb 2023 05:23:21 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id AA95F40A8B for ; Fri, 17 Feb 2023 05:23:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676607799; x=1708143799; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=20N4b55c61ltiIKTX87Gx6pymfWNYoGcX5i+zBirY/Y=; b=WXfq6mdcSKlgXlvSbqBsgLLjOZqz84GTFFbvKTCmZAbvChW+1hRUnQlz mK+6m8L934+2fiwxZ5nsa4QtJ1PmneYxGJaFx5yGOZwElZWmP9Zd+bb51 x6vy2WwbgDA5Up4yR/BUB9EQ2fX17Y/rR9/gzilnuFBtGAJTzs25qN9xR eH0Yhkw8EcdSyDWIdHgeG6hqEvvJof+yCIv+8AkBM++aQ0B/FDMRDV7Yp 4z/Unf1VNTzyaTaReKYs8pMhXwhGOmObiuo5+mG/ZRmcTl5xfwqSiwytk QrElbmHOpuhgXXNrOJdbK2WNduGKgfJHVWgnGFvXQUjWQAlO5r7pq2IHx Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10623"; a="359353889" X-IronPort-AV: E=Sophos;i="5.97,304,1669104000"; d="scan'208";a="359353889" 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:19 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10623"; a="663757848" X-IronPort-AV: E=Sophos;i="5.97,304,1669104000"; d="scan'208";a="663757848" 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:18 -0800 From: Song Jiale To: dts@dpdk.org Cc: Song Jiale Subject: [dts] [PATCH V2 4/5] test_plans/pmd_bonded: modify script to adapt changes in dpdk Date: Fri, 17 Feb 2023 12:20:22 +0000 Message-Id: <20230217122023.2345221-5-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_test_plan.rst | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/test_plans/pmd_bonded_test_plan.rst b/test_plans/pmd_bonded_test_plan.rst index a76ac6b8..dde885d2 100644 --- a/test_plans/pmd_bonded_test_plan.rst +++ b/test_plans/pmd_bonded_test_plan.rst @@ -105,18 +105,20 @@ Create bonded device, add first slave, verify default bonded device has default testpmd> add bonding slave 1 4 Adding port 1 as slave testpmd> show bonding config 4 - Bonding mode: 1 - Slaves: [1] - Active Slaves: [] - Failed to get primary slave for port=4 + - Dev basic: + Bonding mode: ACTIVE_BACKUP(1) + Slaves (1): [1] + Active Slaves: [] + Current Primary: [1] testpmd> port start 4 ...... Done testpmd> show bonding config 4 - Bonding mode: 1 - Slaves: [1] - Active Slaves: [1] - Primary: [1] + - Dev basic: + Bonding mode: ACTIVE_BACKUP(1) + Slaves (1): [1] + Active Slaves: [1] + Current Primary: [1] Create another bonded device, and check if the slave added to bonded device1 can't be added to bonded device2:: -- 2.25.1