Re: [dpdk-dev] [PATCH v4 06/16] ethdev: remove C99 flexible arrays from flow API

2018-04-17 Thread NĂ©lio Laranjeiro
On Tue, Apr 17, 2018 at 10:18:22PM +0200, Thomas Monjalon wrote: > 16/04/2018 18:22, Adrien Mazarguil: > > This patch replaces C99-style flexible arrays in struct rte_flow_action_rss > > and struct rte_flow_item_raw with standard pointers to the same data. > > > > They proved difficult to use in t

Re: [dpdk-dev] [PATCH v4 06/16] ethdev: remove C99 flexible arrays from flow API

2018-04-17 Thread Thomas Monjalon
16/04/2018 18:22, Adrien Mazarguil: > This patch replaces C99-style flexible arrays in struct rte_flow_action_rss > and struct rte_flow_item_raw with standard pointers to the same data. > > They proved difficult to use in the field (e.g. no possibility of static > initialization) and unsuitable fo

[dpdk-dev] [PATCH v4 06/16] ethdev: remove C99 flexible arrays from flow API

2018-04-16 Thread Adrien Mazarguil
This patch replaces C99-style flexible arrays in struct rte_flow_action_rss and struct rte_flow_item_raw with standard pointers to the same data. They proved difficult to use in the field (e.g. no possibility of static initialization) and unsuitable for C++ applications. Affected PMDs and example