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(-)
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):
--
2.17.1