[dts] [PATCH V1] add payload for send eth packet
Xu, HuilongX
huilongx.xu at intel.com
Mon Dec 7 04:03:38 CET 2015
Hi shijie,
Could you check all test suite have this issue, and send a patch fix them.
Thanks a lot
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Shijie Dong
> Sent: Monday, December 07, 2015 10:52 AM
> To: dts at dpdk.org
> Subject: [dts] [PATCH V1] add payload for send eth packet
>
> scapy can't support send packet only inlcude eth herd in ubutu 15.10
>
> Signed-off-by: Shijie Dong <shijiex.dong at intel.com>
> ---
> tests/TestSuite_mac_filter.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_mac_filter.py b/tests/TestSuite_mac_filter.py
> index 1d4e77d..3ca7387 100644
> --- a/tests/TestSuite_mac_filter.py
> +++ b/tests/TestSuite_mac_filter.py
> @@ -86,7 +86,7 @@ class TestWhitelist(TestCase):
> """
> itf =
> self.tester.get_interface(self.tester.get_local_port(portid))
> self.tester.scapy_foreground()
> - self.tester.scapy_append('sendp([Ether(dst="%s",
> src="52:00:00:00:00:00")], iface="%s", count=%d)' % (destMac,
> + self.tester.scapy_append('sendp([Ether(dst="%s",
> src="52:00:00:00:00:00")/Raw(load="X"*26)], iface="%s", count=%d)' %
> (destMac,
>
> itf, self.frames_to_send))
> self.tester.scapy_execute()
> time.sleep(5)
> --
> 1.9.3
More information about the dts
mailing list