diff options
author | Damjan Marion <damarion@cisco.com> | 2018-02-15 11:59:04 +0100 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-02-15 12:38:16 +0000 |
commit | 07510dd1a812fe064c8d44dd25e6c8a598a709cf (patch) | |
tree | c04ea244f766a4c3cd621473febfd0ef0f2d6b9c /src/plugins/dpdk/ipsec/ipsec.c | |
parent | a43ccaefc3bd50c03c90f7c3bee02eac9709df56 (diff) |
dpdk: add support for DPDK 18.02, deprecate 17.08
17.11 is still default.
Change-Id: I524d232579db8a59c717c5d760398b6b7f811d03
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/ipsec/ipsec.c')
-rw-r--r-- | src/plugins/dpdk/ipsec/ipsec.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/dpdk/ipsec/ipsec.c b/src/plugins/dpdk/ipsec/ipsec.c index bf5d5bf019d..3dce075725b 100644 --- a/src/plugins/dpdk/ipsec/ipsec.c +++ b/src/plugins/dpdk/ipsec/ipsec.c @@ -806,11 +806,7 @@ crypto_op_init (struct rte_mempool *mempool, op->sess_type = RTE_CRYPTO_OP_WITH_SESSION; op->type = RTE_CRYPTO_OP_TYPE_SYMMETRIC; op->status = RTE_CRYPTO_OP_STATUS_NOT_PROCESSED; -#if RTE_VERSION < RTE_VERSION_NUM(17, 11, 0, 0) - op->phys_addr = rte_mempool_virt2phy (NULL, _obj); -#else op->phys_addr = rte_mempool_virt2iova (_obj); -#endif op->mempool = mempool; } |