net/softnic: fix build with gcc 4.5.1
authorJasvinder Singh <jasvinder.singh@intel.com>
Wed, 8 Nov 2017 10:25:08 +0000 (10:25 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 8 Nov 2017 19:44:56 +0000 (20:44 +0100)
commit9527e24458a349dc41b6820ed96e2ba68105300d
tree37cd0677c0dae419c41b3039124fd290db9d2a16
parentc05cb4f939082fd7b4892c03372d27e870a0f426
net/softnic: fix build with gcc 4.5.1

Fix the build error due to improper handling of unions
on SUSE11 (gcc 4.5.1).

drivers/net/softnic/rte_eth_softnic_tm.c:588:3
error: unknown field 'nonleaf' specified in initializer

Fixes: 299a89de916a ("net/softnic: add TM capabilities ops")

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
drivers/net/softnic/rte_eth_softnic_tm.c