[dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes

2015-09-25 Thread Wenzhuo Lu
Define the new modes and modify the filter and mask structure for the mac vlan and cloud modes. Signed-off-by: Wenzhuo Lu --- lib/librte_ether/rte_eth_ctrl.h | 68 ++--- 1 file changed, 50 insertions(+), 18 deletions(-) diff --git a/lib/librte_ether/rte_eth_c

[dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes

2015-09-25 Thread Thomas Monjalon
2015-09-25 14:05, Wenzhuo Lu: > +enum rte_fdir_mode { > + RTE_FDIR_MODE_NONE = 0, /**< Disable FDIR support. */ > + RTE_FDIR_MODE_SIGNATURE, /**< Enable FDIR signature filter mode. */ > + RTE_FDIR_MODE_PERFECT, /**< Enable FDIR perfect filter mode for IP. */ > + RTE_FDIR_MODE_PER

[dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes

2015-09-25 Thread Lu, Wenzhuo
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, September 25, 2015 3:01 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures > for >

[dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes

2015-09-25 Thread Thomas Monjalon
2015-09-25 08:14, Lu, Wenzhuo: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > +/** > > > + * A structure used to define the input for VxLAN NVGRE flow */ > > > +struct rte_eth_cloud_flow { > > > + enum rte_eth_fdir_tunnel_type tunnel_type; /**< Tunnel type to match. > > */ > >

[dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes

2015-09-28 Thread Lu, Wenzhuo
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, September 25, 2015 4:29 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures > for >