* [dts] [PATCH V1] tests/vf_pmd_stacked_bonded: optimize script
@ 2023-04-10 16:22 Jiale Song
2023-04-11 7:55 ` lijuan.tu
0 siblings, 1 reply; 2+ messages in thread
From: Jiale Song @ 2023-04-10 16:22 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
some nic do not have "link-down-on-close" flags, but they also support
synchronizing the status of the vf port and the port of the peer port.
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_vf_pmd_stacked_bonded.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_vf_pmd_stacked_bonded.py b/tests/TestSuite_vf_pmd_stacked_bonded.py
index 5765481e..615e9517 100644
--- a/tests/TestSuite_vf_pmd_stacked_bonded.py
+++ b/tests/TestSuite_vf_pmd_stacked_bonded.py
@@ -566,7 +566,10 @@ class TestVFPmdStackedBonded(TestCase):
"""
Test Case: active-backup stacked bonded rx traffic with slave down
"""
- self.verify(self.default_stats, "tester port not support '%s'" % self.flag)
+ if not self.default_stats:
+ self.logger.warning(
+ "Please ensure that the link status of the vf port can be synchronized with the peer port!!!"
+ )
self.backup_check_traffic_with_slave_down()
def test_mode_xor_rx(self):
@@ -579,7 +582,10 @@ class TestVFPmdStackedBonded(TestCase):
"""
Test Case: balance-xor stacked bonded rx traffic with slave down
"""
- self.verify(self.default_stats, "tester port not support '%s'" % self.flag)
+ if not self.default_stats:
+ self.logger.warning(
+ "Please ensure that the link status of the vf port can be synchronized with the peer port!!!"
+ )
self.xor_check_stacked_rx_one_slave_down()
def tear_down(self):
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [dts] [PATCH V1] tests/vf_pmd_stacked_bonded: optimize script
2023-04-10 16:22 [dts] [PATCH V1] tests/vf_pmd_stacked_bonded: optimize script Jiale Song
@ 2023-04-11 7:55 ` lijuan.tu
0 siblings, 0 replies; 2+ messages in thread
From: lijuan.tu @ 2023-04-11 7:55 UTC (permalink / raw)
To: dts, Jiale Song; +Cc: Jiale Song
On Mon, 10 Apr 2023 16:22:27 +0000, Jiale Song <songx.jiale@intel.com> wrote:
> some nic do not have "link-down-on-close" flags, but they also support
> synchronizing the status of the vf port and the port of the peer port.
>
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-11 7:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-10 16:22 [dts] [PATCH V1] tests/vf_pmd_stacked_bonded: optimize script Jiale Song
2023-04-11 7:55 ` lijuan.tu
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).