diff options
author | Xavier Simonart <xavier.simonart@intel.com> | 2020-01-31 18:20:15 +0100 |
---|---|---|
committer | Patrice Buriez <patrice.buriez@intel.com> | 2020-04-20 18:34:21 +0000 |
commit | b4274493514c4467dbc6812afff30bcfe43407a5 (patch) | |
tree | bbedc60034da8aa7f920809158200881fbd9aa3b /VNFs/DPPD-PROX/prox_port_cfg.c | |
parent | a9f2cbbc2d12d6c767341e675adc5921c39c21a9 (diff) |
Added support for DPDK 19.11
Change-Id: I58fa7a0ab7aaa27e9f9383f7995bb71bf0952618
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/prox_port_cfg.c')
-rw-r--r-- | VNFs/DPPD-PROX/prox_port_cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/prox_port_cfg.c b/VNFs/DPPD-PROX/prox_port_cfg.c index 9af141f2..74514062 100644 --- a/VNFs/DPPD-PROX/prox_port_cfg.c +++ b/VNFs/DPPD-PROX/prox_port_cfg.c @@ -169,7 +169,7 @@ void init_rte_dev(int use_dummy_devices) struct rte_eth_dev_info dev_info; const struct rte_pci_device *pci_dev; - nb_ports = rte_eth_dev_count(); + nb_ports = prox_rte_eth_dev_count_avail(); /* get available ports configuration */ PROX_PANIC(use_dummy_devices && nb_ports, "Can't use dummy devices while there are also real ports\n"); |