app/testpmd: fix build without ixgbe and bnxt PMDs
[dpdk.git] / app / test-pmd / cmdline.c
index bedf1e4..b3a56ba 100644 (file)
@@ -7494,6 +7494,8 @@ cmd_set_vf_rxmode_parsed(void *parsed_result,
                        rx_mode |= ETH_VMDQ_ACCEPT_MULTICAST;
        }
 
+       RTE_SET_USED(is_on);
+
 #ifdef RTE_LIBRTE_IXGBE_PMD
        if (ret == -ENOTSUP)
                ret = rte_pmd_ixgbe_set_vf_rxmode(res->port_id, res->vf_id,