crypto/virtio: fix IV offset
authorFan Zhang <roy.fan.zhang@intel.com>
Fri, 5 Apr 2019 16:04:24 +0000 (17:04 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:54 +0000 (14:51 +0200)
commitfd4fa52cbf733164176269b5cce809403d2ef227
tree7695b4bd6271048d5e0b4d727f388c9122eee255
parentec8e7598bbf4924a932ac1ed168cf723468448d4
crypto/virtio: fix IV offset

This patch fixes the incorrect iv offset calculation.

Fixes: b063e843fa03 ("crypto/virtio: fix IV physical address")
Cc: stable@dpdk.org
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/crypto/virtio/virtio_rxtx.c