From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id D23322FDD for ; Thu, 10 Mar 2016 15:27:15 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 10 Mar 2016 06:26:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,316,1455004800"; d="scan'208";a="667068736" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by FMSMGA003.fm.intel.com with ESMTP; 10 Mar 2016 06:26:57 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.35]) by IRSMSX102.ger.corp.intel.com ([169.254.2.19]) with mapi id 14.03.0248.002; Thu, 10 Mar 2016 14:26:57 +0000 From: "Ananyev, Konstantin" To: "Tan, Jianfeng" , "dev@dpdk.org" Thread-Topic: [PATCH v3 0/2] examples/l3fwd: fix using packet type blindly Thread-Index: AQHResuTd2mX55MVQUKwRkA3sMPLzJ9Su50Q Date: Thu, 10 Mar 2016 14:26:55 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836B1AF64@irsmsx105.ger.corp.intel.com> References: <1456795416-118189-1-git-send-email-jianfeng.tan@intel.com> <1457589038-25739-1-git-send-email-jianfeng.tan@intel.com> In-Reply-To: <1457589038-25739-1-git-send-email-jianfeng.tan@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODVlYWVmMzItYTRhOC00NTAzLThiY2UtMjNhZWY5NTc0MTRlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkRTWGdIeHhjb3I3MUF4Y0hJVXR5UG43N3gxbXJBN2VDVzZzSitJOStcL1dZPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 0/2] examples/l3fwd: fix using packet type blindly X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2016 14:27:16 -0000 > From: Tan, Jianfeng > Sent: Thursday, March 10, 2016 5:51 AM > To: dev@dpdk.org > Cc: Zhang, Helin; Ananyev, Konstantin; nelio.laranjeiro@6wind.com; adrien= .mazarguil@6wind.com; rahul.lakkireddy@chelsio.com; > pmatilai@redhat.com; Tan, Jianfeng > Subject: [PATCH v3 0/2] examples/l3fwd: fix using packet type blindly >=20 > This patch will work on below patch series. > - [PATCH v7 00/11] Add API to get packet type info >=20 > v3: > - em ptype check: (l4_tcp || l4_udp) -> (l4_tcp && l4_udp). > - avoid rte_be_to_cpu_16 for each packet by adding proper macros. > - with --parse-ptype specified, use sw parser mandatorily. > - enable i40e vector driver by default. >=20 > v2: > - Add patchset dependence in commit log. > - Change hardcoded 0 to RTE_PTYPE_UNKNOWN. > - More accurate em_parse_type. > - Add restrictions in EM forwarding functions. > - Define cb directly to avoid too many function calls when do analyze. > - Some typo fixed. > - Change the position to call rte_eth_dev_get_ptype_info > after rte_eth_dev_start(). >=20 > Patch 1: add an option in l3fwd. > Patch 2: enable vector pmd in i40e by default. >=20 > Signed-off-by: Jianfeng Tan >=20 > Jianfeng Tan (2): > examples/l3fwd: fix using packet type blindly > config: enable i40e vector driver by default >=20 > config/common_base | 2 +- > doc/guides/rel_notes/release_16_04.rst | 14 ++++ > doc/guides/sample_app_ug/l3_forward.rst | 6 +- > examples/l3fwd/l3fwd.h | 14 ++++ > examples/l3fwd/l3fwd_em.c | 112 ++++++++++++++++++++++++++= ++++++ > examples/l3fwd/l3fwd_em.h | 10 ++- > examples/l3fwd/l3fwd_em_hlm_sse.h | 17 +++-- > examples/l3fwd/l3fwd_em_sse.h | 9 ++- > examples/l3fwd/l3fwd_lpm.c | 65 ++++++++++++++++++ > examples/l3fwd/main.c | 55 ++++++++++++++++ > 10 files changed, 293 insertions(+), 11 deletions(-) >=20 Acked-by: Konstantin Ananyev > -- > 2.1.4