> -----Original Message----- > From: Yuanhan Liu [mailto:y...@fridaylinux.org] > Sent: Wednesday, June 7, 2017 11:31 AM > To: Xing, Beilei <beilei.x...@intel.com> > Cc: Wu, Jingjing <jingjing...@intel.com>; dev@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.x...@intel.com> > > --- > > drivers/net/i40e/i40e_flow.c | 176 ++++++++++++++-------------------------- > --- > > 1 file changed, 55 insertions(+), 121 deletions(-)