Re: [dpdk-dev] [PATCH v2 07/17] net/i40e: add flow validate function

2016-12-28 Thread Xing, Beilei
cember 27, 2016 8:40 PM > > > To: Xing, Beilei > > > Cc: Wu, Jingjing ; Zhang, Helin > > > ; dev@dpdk.org > > > Subject: Re: [dpdk-dev] [PATCH v2 07/17] net/i40e: add flow validate > > > function > > > > > > Hi Beilei, > > > >

Re: [dpdk-dev] [PATCH v2 07/17] net/i40e: add flow validate function

2016-12-28 Thread Adrien Mazarguil
ng ; Zhang, Helin > > ; dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v2 07/17] net/i40e: add flow validate > > function > > > > Hi Beilei, > > > > A few comments below. > > > > On Tue, Dec 27, 2016 at 02:26:14PM +0800, Beilei Xing wrote: >

Re: [dpdk-dev] [PATCH v2 07/17] net/i40e: add flow validate function

2016-12-28 Thread Xing, Beilei
> -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > Sent: Tuesday, December 27, 2016 8:40 PM > To: Xing, Beilei > Cc: Wu, Jingjing ; Zhang, Helin > ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 07/17] net/i40e: add flow valida

Re: [dpdk-dev] [PATCH v2 07/17] net/i40e: add flow validate function

2016-12-27 Thread Xing, Beilei
> -Original Message- > From: Wu, Jingjing > Sent: Wednesday, December 28, 2016 10:52 AM > To: Xing, Beilei ; Zhang, Helin > > Cc: dev@dpdk.org > Subject: RE: [PATCH v2 07/17] net/i40e: add flow validate function > > > > > > +union i40e_filter_t { > > + struct rte_eth_ethertype_filter

Re: [dpdk-dev] [PATCH v2 07/17] net/i40e: add flow validate function

2016-12-27 Thread Tiwei Bie
On Tue, Dec 27, 2016 at 02:26:14PM +0800, Beilei Xing wrote: > This patch adds i40e_flow_validation function to check if > a flow is valid according to the flow pattern. > i40e_parse_ethertype_filter is added first, it also gets > the ethertype info. > i40e_flow.c is added to handle all generic fil

Re: [dpdk-dev] [PATCH v2 07/17] net/i40e: add flow validate function

2016-12-27 Thread Wu, Jingjing
> > +union i40e_filter_t { > + struct rte_eth_ethertype_filter ethertype_filter; > + struct rte_eth_fdir_filter fdir_filter; > + struct rte_eth_tunnel_filter_conf tunnel_filter; } cons_filter; > + > +typedef int (*parse_filter_t)(struct rte_eth_dev *dev, > +

Re: [dpdk-dev] [PATCH v2 07/17] net/i40e: add flow validate function

2016-12-27 Thread Adrien Mazarguil
Hi Beilei, A few comments below. On Tue, Dec 27, 2016 at 02:26:14PM +0800, Beilei Xing wrote: > This patch adds i40e_flow_validation function to check if > a flow is valid according to the flow pattern. > i40e_parse_ethertype_filter is added first, it also gets > the ethertype info. > i40e_flow.c

[dpdk-dev] [PATCH v2 07/17] net/i40e: add flow validate function

2016-12-26 Thread Beilei Xing
This patch adds i40e_flow_validation function to check if a flow is valid according to the flow pattern. i40e_parse_ethertype_filter is added first, it also gets the ethertype info. i40e_flow.c is added to handle all generic filter events. Signed-off-by: Beilei Xing --- drivers/net/i40e/Makefile