summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_glue.h
diff options
context:
space:
mode:
authorShahaf Shuler <shahafs@mellanox.com>2018-11-01 14:46:45 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2018-11-05 15:01:25 +0100
commitbe685863a9ea636bf7924f0a8034bb4c21fb1402 (patch)
tree455b0ec228d0df45ff939a0537756d3494006409 /drivers/net/mlx5/mlx5_glue.h
parent3bcc6d6a832b67fd02776d95fe991640256a786f (diff)
downloaddpdk-be685863a9ea636bf7924f0a8034bb4c21fb1402.zip
dpdk-be685863a9ea636bf7924f0a8034bb4c21fb1402.tar.gz
dpdk-be685863a9ea636bf7924f0a8034bb4c21fb1402.tar.xz
net: fix build with pedantic
The following error popped when compiling with -pedantic: In file included from drivers/net/mlx5/mlx5_flow_dv.c:28:0: include/rte_gre.h:20:2: error: type of bit-field 'res2' is a GCC extension [-Werror=pedantic] uint16_t res2:4; /**< Reserved */ Fixing by adding the __extension__ attribute. Fixes: 894f71a3805d ("net: add GRE header structure") Cc: stable@dpdk.org Signed-off-by: Shahaf Shuler <shahafs@mellanox.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_glue.h')
0 files changed, 0 insertions, 0 deletions