crypto/octeontx2: add kmod dependency info
authorThierry Herbelot <thierry.herbelot@6wind.com>
Mon, 10 Feb 2020 07:35:12 +0000 (08:35 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Thu, 13 Feb 2020 11:41:04 +0000 (12:41 +0100)
commit02ba37237612f6d9a30b48e232b3dcd2cafe4e60
tree04dd870ca0bc78ffd59c2e92e0857de3c802cdea
parentf42c9ac5b6b5fabd3c6bb124914af6704445e853
crypto/octeontx2: add kmod dependency info

Like for OCTEON TX, the OCTEON TX2 crypto engines must
first be unbound from their kernel module, then rebound to
vfio-pci, before being used in DPDK.

As this capability is detected at runtime by dpdk-pmdinfo,
add the info in the PMD registering directives.

Then an external script can be used for bind and unbind.

Fixes: 2f8a1b963eb77 ("crypto/octeontx2: add PMD skeleton")
Cc: stable@dpdk.org
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
drivers/crypto/octeontx2/otx2_cryptodev.c