kni: fix build with 802.1p kernel support
authorThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 7 Feb 2013 13:07:47 +0000 (14:07 +0100)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:07:28 +0000 (11:07 +0100)
commitfd52b477818e3844f62f3d43d2c321af39c3f287
tree89b30ad83914e17fc483f1a997a457b3219b365f
parent27f76bdf27cb64e676cca6d3861ba8cc60269b06
kni: fix build with 802.1p kernel support

C90 compilers forbid mixed declaration and code.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c