[dpdk-dev] [PATCH v2 4/4] ethdev: Add metadata flow and action items support

Mohammad Abdul Awal mohammad.abdul.awal at intel.com
Fri Apr 6 15:47:16 CEST 2018


On 05/04/2018 17:49, Thomas Monjalon wrote:
> 05/04/2018 15:51, Declan Doherty:
>> +struct rte_flow_item_metadata {
>> +       uint32_t id;            /**< field identifier */
>> +       uint32_t size;          /**< field size */
>> +       uint8_t bytes[];        /**< field value */
>> +};
> Spotted C99 syntax of flexible array.
> Are we OK with all supported compilers?
>
Used "uint8_t *bytes;" instead of "uint8_t bytes[];"




More information about the dev mailing list