[dts] [PATCH V1] add payload for send eth packet

Liu, Yong yong.liu at intel.com
Mon Dec 7 02:14:59 CET 2015


Thanks, applied with additional information.

On 12/04/2015 09:48 AM, Dong, ShijieX wrote:
> OS 	: Ubunto 15.10
> Python :2.7.10
> Scapy 	:2.2.0
>
> -----Original Message-----
> From: Liu, Yong
> Sent: Friday, December 04, 2015 8:52 AM
> To: Dong, ShijieX; dts at dpdk.org
> Subject: Re: [dts] [PATCH V1] add payload for send eth packet
>
> Hi shide, can you supply the information that which version scapy not support raw packet?
> We can add it into dts document.
>
> On 12/03/2015 06:34 PM, Shijie Dong wrote:
>> 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_dynamic_config.py | 2 +-
>>    1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tests/TestSuite_dynamic_config.py
>> b/tests/TestSuite_dynamic_config.py
>> index d1ad49c..ba740b1 100644
>> --- a/tests/TestSuite_dynamic_config.py
>> +++ b/tests/TestSuite_dynamic_config.py
>> @@ -111,7 +111,7 @@ class TestDynamicConfig(TestCase):
>>    
>>            self.tester.scapy_foreground()
>>            self.tester.scapy_append(
>> -            'sendp([Ether(dst="%s", src="52:00:00:00:00:00")], iface="%s")' % (destMac, itf))
>> +            'sendp([Ether(dst="%s",
>> + src="52:00:00:00:00:00")/Raw(load="X"*26)], iface="%s")' % (destMac,
>> + itf))
>>    
>>            self.tester.scapy_execute()
>>    



More information about the dts mailing list