common/cpt: fix encryption offset
authorAnkur Dwivedi <adwivedi@marvell.com>
Fri, 3 Jul 2020 05:41:37 +0000 (11:11 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 8 Jul 2020 16:16:16 +0000 (18:16 +0200)
commit0058f30514f13e5d5412e97973a9c9254e36edb1
tree1cb1d29860730f46d36803b91ee4f21aea996ecb
parentd4a131a9498db198ad8ca31664da13dbb9cbbc6c
common/cpt: fix encryption offset

In case of gmac auth the encryption offset should be set to zero.

Fixes: b74652f3a91f ("common/cpt: add microcode interface for encryption")
Fixes: 177b41ceee61 ("common/cpt: add microcode interface for decryption")
Cc: stable@dpdk.org
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
drivers/common/cpt/cpt_ucode.h