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_compat.h | |
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_compat.h')
-rw-r--r-- | VNFs/DPPD-PROX/prox_compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/prox_compat.h b/VNFs/DPPD-PROX/prox_compat.h index 9c18e36f..7cf0add9 100644 --- a/VNFs/DPPD-PROX/prox_compat.h +++ b/VNFs/DPPD-PROX/prox_compat.h @@ -253,4 +253,10 @@ static int prox_rte_cryptodev_queue_pair_setup(uint8_t dev_id, uint16_t queue_pa #endif #endif // CONFIG_RTE_LIBRTE_PMD_AESNI_MB +#if RTE_VERSION < RTE_VERSION_NUM(19,11,0,0) +#define prox_rte_eth_dev_count_avail() rte_eth_dev_count() +#else +#define prox_rte_eth_dev_count_avail() rte_eth_dev_count_avail() +#endif + #endif // _PROX_COMPAT_H |