summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/ipsec/ipsec.h
diff options
context:
space:
mode:
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>2017-10-31 15:55:39 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2017-11-01 09:28:47 +0000
commitaa3a25c1c9534a634ca20f64cbeb287733c67d9d (patch)
tree655187fcbec3918a04edd6eddbca3118f03e66ff /src/plugins/dpdk/ipsec/ipsec.h
parent812ed39f9da336310e815c361ab5a9f118657d94 (diff)
dpdk/ipsec: fix digest physical address
VPP-1034 Change-Id: I02b4db9e52446ab8578df1f011dd27f39de64c70 Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Diffstat (limited to 'src/plugins/dpdk/ipsec/ipsec.h')
-rw-r--r--src/plugins/dpdk/ipsec/ipsec.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/dpdk/ipsec/ipsec.h b/src/plugins/dpdk/ipsec/ipsec.h
index 22890628ec6..2a48e4e6110 100644
--- a/src/plugins/dpdk/ipsec/ipsec.h
+++ b/src/plugins/dpdk/ipsec/ipsec.h
@@ -328,9 +328,6 @@ crypto_op_setup (u8 is_aead, struct rte_mbuf *mb0,
sym_op->m_src = mb0;
sym_op->session = session;
- if (!digest_paddr)
- digest_paddr = mb0->buf_physaddr + ((u8 *) digest) - ((u8 *) mb0);
-
#if DPDK_NO_AEAD
sym_op->cipher.data.offset = cipher_off;
sym_op->cipher.data.length = cipher_len;