crypto/octeontx: enable unbinding
authorThierry Herbelot <thierry.herbelot@6wind.com>
Fri, 13 Sep 2019 06:40:03 +0000 (08:40 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 9 Oct 2019 09:50:12 +0000 (11:50 +0200)
commit1378ddce50eaa482891fcb7ee28c5a9248335bc6
tree405c25af5e89ace38a4c34a3d0a8605c7f022e78
parent12e5842945bf6debe431adbdbefd9a5a53c72003
crypto/octeontx: enable unbinding

Like for Ethernet ports, the OCTEON TX 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: bfe2ae495ee2 ("crypto/octeontx: 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/octeontx/otx_cryptodev.c