[dpdk-dev] [PATCH v2 1/2] net/i40e: optimize vxlan parsing function

Xing, Beilei beilei.xing at intel.com
Wed Jun 7 06:21:34 CEST 2017


> -----Original Message-----
> From: Yuanhan Liu [mailto:yliu at fridaylinux.org]
> Sent: Wednesday, June 7, 2017 11:31 AM
> To: Xing, Beilei <beilei.xing at intel.com>
> Cc: Wu, Jingjing <jingjing.wu at intel.com>; dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2 1/2] net/i40e: optimize vxlan parsing
> function
> 
> On Thu, Jun 01, 2017 at 02:56:30PM +0800, Beilei Xing wrote:
> > This commit optimizes vxlan parsing function.
> 
> How?
> 
> 	--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 readable.

> 
> > Signed-off-by: Beilei Xing <beilei.xing at intel.com>
> > ---
> >  drivers/net/i40e/i40e_flow.c | 176 ++++++++++++++--------------------------
> ---
> >  1 file changed, 55 insertions(+), 121 deletions(-)


More information about the dev mailing list