From b4274493514c4467dbc6812afff30bcfe43407a5 Mon Sep 17 00:00:00 2001 From: Xavier Simonart Date: Fri, 31 Jan 2020 18:20:15 +0100 Subject: Added support for DPDK 19.11 Change-Id: I58fa7a0ab7aaa27e9f9383f7995bb71bf0952618 Signed-off-by: Xavier Simonart --- VNFs/DPPD-PROX/prox_compat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'VNFs/DPPD-PROX/prox_compat.h') 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 -- cgit 1.2.3-korg