From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A1D0847D2 for ; Tue, 22 Nov 2016 10:17:04 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 22 Nov 2016 01:17:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,680,1473145200"; d="scan'208";a="7819228" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga002.jf.intel.com with ESMTP; 22 Nov 2016 01:17:02 -0800 Message-ID: <58340CD4.8070806@intel.com> Date: Tue, 22 Nov 2016 17:16:04 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "Xu, HuilongX" , "dts@dpdk.org" References: <1479438482-4875-1-git-send-email-huilongx.xu@intel.com> <1479438482-4875-2-git-send-email-huilongx.xu@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E6032B5EE@SHSMSX103.ccr.corp.intel.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH V1 2/3] update vxlan ipv4/ipv6 packet detect packet type info X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2016 09:17:05 -0000 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@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@dpdk.org] On Behalf Of xu,huilong >>> Sent: Friday, November 18, 2016 11:08 AM >>> To: dts@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 >>> --- >>> 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