[V1] tests/interrupt_pmd: modify the destination ip of the package
Checks
Commit Message
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
> -----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 >
@@ -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):