X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcrypto%2Focteontx2%2Fotx2_cryptodev_sec.h;h=87f55c97fe42ef436ac15a55bb7116f8a7604a47;hb=1f411e31a826a9b080c2834a0944b028213e9ed6;hp=b989251e7157d365dbb02a4d04100b7c979204b1;hpb=b9765e96c225f468eaa0ee5e5b0626743b1d4e9c;p=dpdk.git diff --git a/drivers/crypto/octeontx2/otx2_cryptodev_sec.h b/drivers/crypto/octeontx2/otx2_cryptodev_sec.h index b989251e71..87f55c97fe 100644 --- a/drivers/crypto/octeontx2/otx2_cryptodev_sec.h +++ b/drivers/crypto/octeontx2/otx2_cryptodev_sec.h @@ -18,7 +18,7 @@ struct otx2_sec_session_ipsec_lp { struct otx2_ipsec_po_out_sa out_sa; }; - uint64_t ucmd_w3; + uint64_t cpt_inst_w7; union { uint64_t ucmd_w0; struct { @@ -55,6 +55,8 @@ struct otx2_sec_session_ipsec_lp { uint8_t iv_length; /** Auth IV length in bytes */ uint8_t auth_iv_length; + /** IPsec mode and tunnel type */ + enum otx2_ipsec_po_mode_type mode_type; }; int otx2_crypto_sec_ctx_create(struct rte_cryptodev *crypto_dev);