net/i40e: fix missing defines for non-AVX build
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 8 May 2018 20:10:17 +0000 (21:10 +0100)
committerBruce Richardson <bruce.richardson@intel.com>
Tue, 8 May 2018 20:14:07 +0000 (22:14 +0200)
commit776d64ffb7cff60a5500c8f33704787d0bae428a
tree1e71bb755b1472deba3010200397fb77a80e98d4
parent14b8f0bbe51976d4a9bdd5d0ceccd4d86c6ff9ae
net/i40e: fix missing defines for non-AVX build

For non-AVX builds, the cflags used for compiling the i40e driver files
are not passed to the call to build the AVX-specific code path. This can
cause build failures.

../drivers/net/i40e/i40e_ethdev.h:888:42: error: ‘I40E_PFQF_HKEY_MAX_INDEX’ undeclared here (not in a function)

Fixes: e940646b20fa ("drivers/net: build Intel NIC PMDs with meson")

Reported-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/net/i40e/meson.build