dpdk: fix cryptodev offset update 59/31359/2
authorFan Zhang <roy.fan.zhang@intel.com>
Fri, 19 Feb 2021 12:23:08 +0000 (12:23 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Fri, 19 Feb 2021 21:49:44 +0000 (21:49 +0000)
commit7f8d1746783384a08d7e219d7669b8ed54446c37
treef6c4cc8ef9387277d5d6f4238eb6a03959d62800
parent26bcbc171b5674986ac238e4d8984534d97c217d
dpdk: fix cryptodev offset update

Type: fix

This patch fixes the missed crypto and integ offset update for
every packet. Previously the offset is updated only when the
key is changed. This is ok for encryption but not always true
for decryption.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Change-Id: Iccd0011f4ae488746ce487a14b94ddd24fb0c07c
src/plugins/dpdk/cryptodev/cryptodev_dp_api.c