X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcrypto%2Focteontx2%2Fotx2_cryptodev_hw_access.h;h=f9981ea8c909dd411bbffbb79cf204e453f97daf;hb=e863fe3a13da89787fdf3b5c590101a3c0f10af6;hp=a435818e0cace20a27068bf4420e958b6661cc17;hpb=29768f78d5a7f0cf70b5f3007b9deaa361b17799;p=dpdk.git diff --git a/drivers/crypto/octeontx2/otx2_cryptodev_hw_access.h b/drivers/crypto/octeontx2/otx2_cryptodev_hw_access.h index a435818e0c..f9981ea8c9 100644 --- a/drivers/crypto/octeontx2/otx2_cryptodev_hw_access.h +++ b/drivers/crypto/octeontx2/otx2_cryptodev_hw_access.h @@ -44,9 +44,9 @@ #define OTX2_CPT_AF_LF_CTL(a) (0x27000ull | (uint64_t)(a) << 3) #define OTX2_CPT_AF_LF_CTL2(a) (0x29000ull | (uint64_t)(a) << 3) -#define OTX2_CPT_LF_BAR2(vf, q_id) \ +#define OTX2_CPT_LF_BAR2(vf, blk_addr, q_id) \ ((vf)->otx2_dev.bar2 + \ - ((RVU_BLOCK_ADDR_CPT0 << 20) | ((q_id) << 12))) + ((blk_addr << 20) | ((q_id) << 12))) #define OTX2_CPT_QUEUE_HI_PRIO 0x1