Re: [dpdk-dev] [PATCH v4 1/2] rte_flow: add eCPRI key fields to flow API

2020-07-08 Thread Bing Zhao
; Cc: dev@dpdk.org; wenzhuo...@intel.com; beilei.x...@intel.com; > bernard.iremon...@intel.com > Subject: RE: [dpdk-dev] [PATCH v4 1/2] rte_flow: add eCPRI key fields > to flow API > > > > +#ifdef __cplusplus > > +extern "C" { > > +#endif > > + >

Re: [dpdk-dev] [PATCH v4 1/2] rte_flow: add eCPRI key fields to flow API

2020-07-08 Thread Akhil Goyal
> +#ifdef __cplusplus > +extern "C" { > +#endif > + > +/** > + * eCPRI Protocol Revision 1.0, 1.1, 1.2, 2.0: 0001b > + * Other values are reserved for future > + */ > +#define RTE_ECPRI_REV_UPTO_201 > + > +/** > + * eCPRI message types in specifications > + * IWF* types will only

[dpdk-dev] [PATCH v4 1/2] rte_flow: add eCPRI key fields to flow API

2020-07-07 Thread Bing Zhao
Add a new item "rte_flow_item_ecpri" in order to match eCRPI header. eCPRI is a packet based protocol used in the fronthaul interface of 5G networks. Header format definition could be found in the specification via the link below: https://www.gigalight.com/downloads/standards/ecpri-specification.p