summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/ipsec/esp_encrypt.c
diff options
context:
space:
mode:
authorSimon Zhang <yuwei1.zhang@intel.com>2019-01-09 09:25:18 +0800
committerDamjan Marion <dmarion@me.com>2019-01-13 13:41:19 +0000
commit0a9dd3cab74c148fff20abd7e869016ff7dee8b3 (patch)
treed12291ab046feb271a2c92fe56eba23eb8ea111a /src/plugins/dpdk/ipsec/esp_encrypt.c
parentad9d528314a049971b1fb9a42562b00e07cf93f4 (diff)
remove useless line in dpdk cryptodev
Change-Id: I2ef33c7c15b3eb1f55bbfd5cbdd230d6a4d58936 Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com>
Diffstat (limited to 'src/plugins/dpdk/ipsec/esp_encrypt.c')
-rw-r--r--src/plugins/dpdk/ipsec/esp_encrypt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/dpdk/ipsec/esp_encrypt.c b/src/plugins/dpdk/ipsec/esp_encrypt.c
index 2a8d6104915..cdeeb4022f6 100644
--- a/src/plugins/dpdk/ipsec/esp_encrypt.c
+++ b/src/plugins/dpdk/ipsec/esp_encrypt.c
@@ -470,8 +470,6 @@ dpdk_esp_encrypt_inline (vlib_main_t * vm,
}
}
- vnet_buffer (b0)->sw_if_index[VLIB_RX] =
- vnet_buffer (b0)->sw_if_index[VLIB_RX];
b0->flags |= VLIB_BUFFER_TOTAL_LENGTH_VALID;
/* mbuf packet starts at ESP header */