[V1] tests/interrupt_pmd: modify the destination ip of the package

Message ID 20220301142350.16347-1-songx.jiale@intel.com (mailing list archive)
State Superseded
Headers
Series [V1] tests/interrupt_pmd: modify the destination ip of the package |

Checks

Context Check Description
ci/Intel-dts-suite-test fail Testing issues

Commit Message

Jiale, SongX March 1, 2022, 2:23 p.m. UTC
  some network cards cannot wake up all cores with the current packet,
such as carlsville. modifying the target ip of the packet can improve
some compatibility.

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

Comments

Huang, ZhiminX March 1, 2022, 6:04 a.m. UTC | #1
> -----Original Message-----
> From: Jiale Song <songx.jiale@intel.com>
> Sent: Tuesday, March 1, 2022 10:24 PM
> To: dts@dpdk.org
> Cc: Jiale, SongX <songx.jiale@intel.com>
> Subject: [dts] [PATCH V1] tests/interrupt_pmd: modify the destination ip of the
> package
> 
> some network cards cannot wake up all cores with the current packet, such as
> carlsville. modifying the target ip of the packet can improve some compatibility.
> 
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
> ---

Tested-by: Zhimin Huang <zhiminx.huang@intel.com >
  

Patch

diff --git a/tests/TestSuite_interrupt_pmd.py b/tests/TestSuite_interrupt_pmd.py
index db8efe44..db2d37df 100644
--- a/tests/TestSuite_interrupt_pmd.py
+++ b/tests/TestSuite_interrupt_pmd.py
@@ -134,7 +134,7 @@  class TestInterruptPmd(TestCase):
                 mac = self.dut.get_mac_address(self.dut_ports[i])
                 txItf = self.tester.get_interface(txport)
                 self.tester.scapy_append(
-                    'sendp([Ether()/IP(dst="198.0.0.%d")/UDP()/Raw(\'X\'*18)], iface="%s")' % (j, txItf))
+                    'sendp([Ether()/IP(dst="198.0.%d.0")/UDP()/Raw(\'X\'*18)], iface="%s")' % (j, txItf))
         self.tester.scapy_execute()
 
     def tear_down(self):