app/testpmd: disable flow director functions if unneeded
authorJie Zhou <jizh@linux.microsoft.com>
Tue, 29 Jun 2021 20:50:21 +0000 (13:50 -0700)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Fri, 2 Jul 2021 17:03:03 +0000 (19:03 +0200)
commit15eb0fa11642b39e6f52bd60c55c79dfb178323b
tree1b9451c35facb758afaa6ede73207f21b2bc5144
parent761f7ae1307718cd2a898636534b053542c08d68
app/testpmd: disable flow director functions if unneeded

Function print_fdir_mask and print_fdir_flex_payload are only called
when either i40e or ixgbe presents. Extend existing #if defined to
include these two functions, to remove "unused function" compilation
warning.

Signed-off-by: Jie Zhou <jizh@linux.microsoft.com>
Acked-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
app/test-pmd/config.c