test suite reviews and discussions
 help / color / mirror / Atom feed
From: Song Jiale <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Song Jiale <songx.jiale@intel.com>
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	[thread overview]
Message-ID: <20230209145351.1140496-2-songx.jiale@intel.com> (raw)
In-Reply-To: <20230209145351.1140496-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_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: <agg_option>
-        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: <agg_option>
+       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: <agg_option>
-        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: <agg_option>
+       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


  reply	other threads:[~2023-02-09  6:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-09 14:53 [PATCH V1 0/4] " Song Jiale
2023-02-09 14:53 ` Song Jiale [this message]
2023-02-09 14:53 ` [dts] [PATCH V1 2/4] tests/pmd_bonded_8023ad: " Song Jiale
2023-02-09 14:53 ` [dts] [PATCH V1 3/4] tests/pmd_bonded: " Song Jiale
2023-02-09 14:53 ` [dts] [PATCH V1 4/4] tests/bonding: " Song Jiale

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=20230209145351.1140496-2-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).