[dts] [PATCH V1 2/3] update vxlan ipv4/ipv6 packet detect packet type info

Liu, Yong yong.liu at intel.com
Tue Nov 22 10:16:04 CET 2016


Thanks, applied.

On 11/18/2016 11:16 AM, Xu, HuilongX wrote:
> Hi yong,
> For outer packet layer, only use packet type output, but for inner layer will user INNER_ and packet type output in newest dpdk code.
>
>> -----Original Message-----
>> From: Liu, Yong
>> Sent: Friday, November 18, 2016 11:11 AM
>> To: Xu, HuilongX; dts at dpdk.org
>> Cc: Xu, HuilongX
>> Subject: RE: [dts] [PATCH V1 2/3] update vxlan ipv4/ipv6 packet detect
>> packet type info
>>
>>
>>
>>> -----Original Message-----
>>> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of xu,huilong
>>> Sent: Friday, November 18, 2016 11:08 AM
>>> To: dts at dpdk.org
>>> Cc: Xu, HuilongX
>>> Subject: [dts] [PATCH V1 2/3] update vxlan ipv4/ipv6 packet detect
>> packet
>>> type info
>>>
>>> Signed-off-by: xu,huilong <huilongx.xu at intel.com>
>>> ---
>>>   tests/TestSuite_nvgre.py | 8 ++++----
>>>   1 file changed, 4 insertions(+), 4 deletions(-)
>>>
>>> diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py
>>> index c1df309..015aa9f 100644
>>> --- a/tests/TestSuite_nvgre.py
>>> +++ b/tests/TestSuite_nvgre.py
>>> @@ -164,14 +164,14 @@ class NvgreTestConfig(object):
>>>           """
>>>           if self.outer_ip_proto != 47:
>>>               if self.outer_l3_type == 'IPv4':
>>> -                return '(outer) L3 type: IPV4_EXT_UNKNOWN'
>>> +                return 'L3_IPV4_EXT_UNKNOWN'
>> If outer and inner packet layer use same string, we can't distinguish
>> between them.
>> What cause the output message change?
>>
>>>               else:
>>> -                return '(outer) L3 type: IPV6_EXT_UNKNOWN'
>>> +                return 'L3_IPV6_EXT_UNKNOWN'
>>>           else:
>>>               if self.inner_l3_type == 'IPv4':
>>> -                return 'Inner L3 type: IPV4_EXT_UNKNOWN'
>>> +                return 'L3_IPV4_EXT_UNKNOWN'
>>>               else:
>>> -                return 'Inner L3 type: IPV6_EXT_UNKNOWN'
>>> +                return 'L3_IPV6_EXT_UNKNOWN'
>>>
>>>       def create_pcap(self):
>>>           """
>>> --
>>> 1.9.3



More information about the dts mailing list