net/*/base: allow use of experimental APIs in base code
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 31 Aug 2018 13:35:10 +0000 (14:35 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:01 +0000 (01:41 +0200)
commit589dd86aaf12e02840b336db934db04593a414e4
treeefb7751431a314985a850d0102aec53b6a50d2a0
parent971c19c77c03df51aaea78648908ef269d8e0c42
net/*/base: allow use of experimental APIs in base code

The driver setting of "allow_experimental_apis" was not being used when
building the base code. To allow this we can manually put in a check
in the base code files for the setting and set the appropriate cflag
if it's needed.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Tested-by: Ilya Maximets <i.maximets@samsung.com>
drivers/net/e1000/base/meson.build
drivers/net/fm10k/base/meson.build
drivers/net/i40e/base/meson.build
drivers/net/ixgbe/base/meson.build
drivers/net/octeontx/base/meson.build
drivers/net/sfc/base/meson.build
drivers/net/thunderx/base/meson.build