]> git.droids-corp.org - dpdk.git/commit
app/testpmd: fix build without drivers
authorThomas Monjalon <thomas@monjalon.net>
Fri, 25 Feb 2022 15:26:53 +0000 (16:26 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Feb 2022 17:32:17 +0000 (18:32 +0100)
commit1a2eaefa47ba1e0e199cfe8a4653a5023425bce5
tree202b1b3f5a660894493748e26298b3f3b7b8913b
parentd9e597141fd3a69278c31b1daf6da7ce54de3b8e
app/testpmd: fix build without drivers

When ixgbe and bnxt are disabled, compilation was failing:

app/test-pmd/cmdline.c:9396:11: error:
variable 'vf_rxmode' set but not used

Fixes: 4cfe399f6550 ("net/bnxt: support to set VF rxmode")
Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
app/test-pmd/cmdline.c