RE: [PATCH v2 3/4] crypto/ccp: fix IOVA handling

2023-01-13 Thread Uttarwar, Sunil Prakashrao
[Public] Acked-by: Sunil Uttarwar -Original Message- From: David Marchand Sent: Tuesday, October 4, 2022 3:22 PM To: dev@dpdk.org Cc: gak...@marvell.com; Uttarwar, Sunil Prakashrao ; sta...@dpdk.org; Somalapuram, Amaranath Subject: [PATCH v2 3/4] crypto/ccp: fix IOVA handling

[PATCH v2 3/4] crypto/ccp: fix IOVA handling

2022-10-04 Thread David Marchand
Using IOVA or physical addresses is something that the user (via --iova-mode=) or the bus code decides. The crypto/ccp PCI driver should only use rte_mem_virt2iova. It should not try to decide what to use solely based on the kmod the PCI device is bound to. While at it, the global variable sha_ct