From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Xing, Beilei" Subject: Re: [PATCH v2 1/2] net/i40e: optimize vxlan parsing function 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "Wu, Jingjing" , "dev@dpdk.org" To: Yuanhan Liu 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) In-Reply-To: <20170607033044.GA15478@yliu-home> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----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(-)