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

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Sep 25 10:29:23 CEST 2015


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.
> > */
> > > +	uint32_t tni_vni;                          /**< TNI or VNI to match. */
> > 
> > Isn't it Intel-specific?
> 
> I think only the word "cloud" is specific. It's for VxLAN and NVGRE packets.

If someone else wants to use it for another kind of tunnel (neither VXLAN
neither NVGRE), identifier or tunnel_id would be more generic than tni_vni.


More information about the dev mailing list