test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/ip_pipeline: optimize scripts to support ICE NIC
  2023-06-07 14:42 [dts] [PATCH V1] tests/ip_pipeline: optimize scripts to support ICE NIC Jiale Song
@ 2023-06-07  8:00 ` lijuan.tu
  0 siblings, 0 replies; 2+ messages in thread
From: lijuan.tu @ 2023-06-07  8:00 UTC (permalink / raw)
  To: dts, Jiale Song; +Cc: Jiale Song

On Wed,  7 Jun 2023 22:42:28 +0800, Jiale Song <songx.jiale@intel.com> wrote:
> the pf of ICE NIC will not forward packets whose destination mac is its
> own mac address, so it is necessary to modify the destination mac of the
> packets.
> 
> Signed-off-by: Jiale Song <songx.jiale@intel.com>


Applied, thanks

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

* [dts] [PATCH V1] tests/ip_pipeline: optimize scripts to support ICE NIC
@ 2023-06-07 14:42 Jiale Song
  2023-06-07  8:00 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Jiale Song @ 2023-06-07 14:42 UTC (permalink / raw)
  To: dts; +Cc: Jiale Song

the pf of ICE NIC will not forward packets whose destination mac is its
own mac address, so it is necessary to modify the destination mac of the
packets.

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_ip_pipeline.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_ip_pipeline.py b/tests/TestSuite_ip_pipeline.py
index c28622cd..58c80034 100644
--- a/tests/TestSuite_ip_pipeline.py
+++ b/tests/TestSuite_ip_pipeline.py
@@ -294,7 +294,7 @@ class TestIPPipeline(TestCase):
         # rule 0 test
         pcap_file = "/tmp/fw_0.pcap"
         pkt = [
-            Ether(dst=self.dut_p0_mac)
+            Ether(dst="00:11:22:33:44:55")
             / IP(dst="100.0.0.1")
             / TCP(sport=100, dport=200)
             / Raw(load="X" * 6)
@@ -394,7 +394,7 @@ class TestIPPipeline(TestCase):
         # rule 0 test
         pcap_file = "/tmp/fl_0.pcap"
         pkt = [
-            Ether(dst=self.dut_p0_mac)
+            Ether(dst="00:11:22:33:44:55")
             / IP(src="100.0.0.10", dst="200.0.0.10")
             / TCP(sport=100, dport=200)
             / Raw(load="X" * 6)
-- 
2.25.1


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

end of thread, other threads:[~2023-06-07  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-07 14:42 [dts] [PATCH V1] tests/ip_pipeline: optimize scripts to support ICE NIC Jiale Song
2023-06-07  8:00 ` 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).