Hi, This patch broke the compilation of MLX5 PMD in debug mode:
from /root/dpdk/x86_64-native-linux-gcc/include/rte_ethdev_driver.h:18, from /root/dpdk/drivers/net/mlx5/mlx5_mp.c:11: /root/dpdk/x86_64-native-linux-gcc/include/rte_higig.h:112:2: error: type of bit-field 'opcode' is a GCC extension [-Werror=pedantic] uint16_t opcode:3; ^ /root/dpdk/x86_64-native-linux-gcc/include/rte_higig.h:113:2: error: type of bit-field 'resv1' is a GCC extension [-Werror=pedantic] uint16_t resv1:2; ^ /root/dpdk/x86_64-native-linux-gcc/include/rte_higig.h:114:2: error: type of bit-field 'src_t' is a GCC extension [-Werror=pedantic] uint16_t src_t:1; ^ /root/dpdk/x86_64-native-linux-gcc/include/rte_higig.h:115:2: error: type of bit-field 'pfm' is a GCC extension [-Werror=pedantic] uint16_t pfm:2; ^ /root/dpdk/x86_64-native-linux-gcc/include/rte_higig.h:116:2: error: type of bit-field 'resv2' is a GCC extension [-Werror=pedantic] uint16_t resv2:5; ^ /root/dpdk/x86_64-native-linux-gcc/include/rte_higig.h:117:2: error: type of bit-field 'hdr_ext_len' is a GCC extension [-Werror=pedantic] uint16_t hdr_ext_len:3; and this is with gcc 4.8.5 Kindest regards, Raslan Darawsheh > -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Ferruh Yigit > Sent: Tuesday, October 22, 2019 12:20 PM > To: kirankum...@marvell.com; Adrien Mazarguil > <adrien.mazarg...@6wind.com>; Wenzhuo Lu <wenzhuo...@intel.com>; > Jingjing Wu <jingjing...@intel.com>; Bernard Iremonger > <bernard.iremon...@intel.com>; John McNamara > <john.mcnam...@intel.com>; Marko Kovacevic > <marko.kovace...@intel.com>; Thomas Monjalon <tho...@monjalon.net>; > Andrew Rybchenko <arybche...@solarflare.com>; Olivier Matz > <olivier.m...@6wind.com> > Cc: dev@dpdk.org; ajit.khapa...@broadcom.com > Subject: Re: [dpdk-dev] [PATCH v10] ethdev: add HIGIG2 key field to flow > API > > On 10/22/2019 5:16 AM, kirankum...@marvell.com wrote: > > From: Kiran Kumar K <kirankum...@marvell.com> > > > > Add new rte_flow_item_higig2_hdr in order to match higig2 header. > > It is a layer 2.5 protocol and used in Broadcom switches. > > Header format is based on the following document. > > > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fread.p > udn.com%2Fdownloads558%2Fdoc%2Fcomm%2F2301468%2FHiGig_protocol > .pdf&data=02%7C01%7Crasland%40mellanox.com%7C316c5935a21b41ff > 8e5708d756d10626%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C1%7C6 > 37073328075459541&sdata=3sL1lSFraI2KMD6UAJj%2FP2cFwloEflX1vNCY > lv%2B4fG4%3D&reserved=0 > > > > Signed-off-by: Kiran Kumar K <kirankum...@marvell.com> > > Acked-by: Andrew Rybchenko <arybche...@solarflare.com> > > Acked-by: Olivier Matz <olivier.m...@6wind.com> > > Applied to dpdk-next-net/master, thanks.