ixgbe: fix build with bypass and debug enabled
authorThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 1 Dec 2014 17:11:02 +0000 (18:11 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 2 Dec 2014 11:28:11 +0000 (12:28 +0100)
commitc1aa5e44e6fb45211e69c20f2be554ab96aab276
tree348c36505ebe5974189f503962e427d5d082d541
parent64741f237cf2990804dd85328c7dd6709f79c346
ixgbe: fix build with bypass and debug enabled

Since commit aae1047905621 ("use the right debug macro"),
DEBUGOUT was replaced by PMD_DRV_LOG which requires at least
2 arguments. But the level argument was missing.

Commit 7a10de5e27 fixed the logs but not the macros FUNC_PTR_OR_*
which are not preprocessed if RTE_LIBRTE_IXGBE_DEBUG_DRIVER is disabled.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_pmd_ixgbe/ixgbe_bypass.c