crypto/bcmfs: support VFIO
authorVikas Gupta <vikas.gupta@broadcom.com>
Wed, 7 Oct 2020 17:18:54 +0000 (22:48 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 14 Oct 2020 20:22:06 +0000 (22:22 +0200)
commit26b7dbae673812c66dfdc7a489f93f7726ecc6ce
tree20ea1525c77b8a6648dbbc75d12c33d845449edd
parentc8e79da7c676927d1792eb706ada17485d14c2f4
crypto/bcmfs: support VFIO

Add VFIO support for BCMFS PMD.
The BCMFS PMD functionality is dependent on the VFIO_PRESENT flag,
which gets enabled in the rte_vfio.h.
If this flag is not enabled in the compiling platform driver will
silently return with error, when executed.

Signed-off-by: Vikas Gupta <vikas.gupta@broadcom.com>
Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/bcmfs/bcmfs_device.c
drivers/crypto/bcmfs/bcmfs_device.h
drivers/crypto/bcmfs/bcmfs_vfio.c [new file with mode: 0644]
drivers/crypto/bcmfs/bcmfs_vfio.h [new file with mode: 0644]
drivers/crypto/bcmfs/meson.build