From: Song Jiale <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Song Jiale <songx.jiale@intel.com>
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 [thread overview]
Message-ID: <20230217122023.2345221-5-songx.jiale@intel.com> (raw)
In-Reply-To: <20230217122023.2345221-1-songx.jiale@intel.com>
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 <songx.jiale@intel.com>
---
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
next prev parent reply other threads:[~2023-02-17 4:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-17 12:20 [dts] [PATCH V2 0/5] " Song Jiale
2023-02-17 12:20 ` [dts] [PATCH V2 1/5] tests/bonding: " Song Jiale
2023-02-17 12:20 ` [dts] [PATCH V2 2/5] test_plans/pmd_bonded_8023ad: " Song Jiale
2023-02-17 12:20 ` [dts] [PATCH V2 3/5] tests/pmd_bonded_8023ad: " Song Jiale
2023-02-17 12:20 ` Song Jiale [this message]
2023-02-17 12:20 ` [dts] [PATCH V2 5/5] tests/pmd_bonded: " Song Jiale
2023-03-03 5:50 ` lijuan.tu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230217122023.2345221-5-songx.jiale@intel.com \
--to=songx.jiale@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).