test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/vxlan: wait link status up
@ 2022-06-16  7:12 Jiale Song
  2022-06-21  6:55 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Jiale Song @ 2022-06-16  7:12 UTC (permalink / raw)
  To: dts; +Cc: Jiale Song

the port status of some NICs changes slowly, so you should confirm that
the port link status is up before sending the packet.

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_vxlan.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
index 159e06b2..c69d7903 100644
--- a/tests/TestSuite_vxlan.py
+++ b/tests/TestSuite_vxlan.py
@@ -611,6 +611,7 @@ class TestVxlan(TestCase):
         config.outer_mac_dst = self.dut_port_mac
         config.create_pcap()
 
+        self.pmdout.wait_link_status_up(self.dut_port)
         # save the capture packet into pcap format
         inst = self.tester.tcpdump_sniff_packets(self.recv_iface)
         config.send_pcap(self.tester_iface)
@@ -869,7 +870,6 @@ class TestVxlan(TestCase):
 
         self.enable_vxlan(self.dut_port)
         self.enable_vxlan(self.recv_port)
-        self.pmdout.wait_link_status_up(self.dut_port)
         # check normal ipv6 packet
         self.send_and_check(
             outer_ip6_src="FE80:0:0:0:0:0:0:0", outer_ip6_dst="FE80:0:0:0:0:0:0:1"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dts] [PATCH V1] tests/vxlan: wait link status up
  2022-06-16  7:12 [dts] [PATCH V1] tests/vxlan: wait link status up Jiale Song
@ 2022-06-21  6:55 ` lijuan.tu
  0 siblings, 0 replies; 2+ messages in thread
From: lijuan.tu @ 2022-06-21  6:55 UTC (permalink / raw)
  To: dts, Jiale Song; +Cc: Jiale Song

On Thu, 16 Jun 2022 15:12:29 +0800, Jiale Song <songx.jiale@intel.com> wrote:
> the port status of some NICs changes slowly, so you should confirm that
> the port link status is up before sending the packet.
> 
> 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:[~2022-06-21  6:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16  7:12 [dts] [PATCH V1] tests/vxlan: wait link status up Jiale Song
2022-06-21  6: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).