From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 86200137C for ; Wed, 7 Jun 2017 06:21:40 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jun 2017 21:21:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,309,1493708400"; d="scan'208";a="110085892" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga005.jf.intel.com with ESMTP; 06 Jun 2017 21:21:39 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Jun 2017 21:21:38 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Jun 2017 21:21:38 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.197]) by shsmsx102.ccr.corp.intel.com ([169.254.2.146]) with mapi id 14.03.0319.002; Wed, 7 Jun 2017 12:21:35 +0800 From: "Xing, Beilei" To: Yuanhan Liu CC: "Wu, Jingjing" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 1/2] net/i40e: optimize vxlan parsing function Thread-Index: AQHS2qTpK8tOtTVAo0eoyLbJmN/nXaIYQX0AgACSnvA= Date: Wed, 7 Jun 2017 04:21:34 +0000 Message-ID: <94479800C636CB44BD422CB454846E0131FC378E@SHSMSX101.ccr.corp.intel.com> References: <1495099241-20103-1-git-send-email-beilei.xing@intel.com> <1496300191-137516-1-git-send-email-beilei.xing@intel.com> <1496300191-137516-2-git-send-email-beilei.xing@intel.com> <20170607033044.GA15478@yliu-home> In-Reply-To: <20170607033044.GA15478@yliu-home> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 1/2] net/i40e: optimize vxlan parsing function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2017 04:21:42 -0000 > -----Original Message----- > From: Yuanhan Liu [mailto:yliu@fridaylinux.org] > Sent: Wednesday, June 7, 2017 11:31 AM > To: Xing, Beilei > Cc: Wu, Jingjing ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/2] net/i40e: optimize vxlan parsing > function >=20 > On Thu, Jun 01, 2017 at 02:56:30PM +0800, Beilei Xing wrote: > > This commit optimizes vxlan parsing function. >=20 > How? >=20 > --yliu The original parsing function is a little complex and not easy to read when= parsing filter type, this patch optimizes the function and makes it more r= eadable. >=20 > > Signed-off-by: Beilei Xing > > --- > > drivers/net/i40e/i40e_flow.c | 176 ++++++++++++++---------------------= ----- > --- > > 1 file changed, 55 insertions(+), 121 deletions(-)