bus/dpaa: fix dpaa_sec blacklist
authorHemant Agrawal <hemant.agrawal@nxp.com>
Thu, 29 Aug 2019 10:27:08 +0000 (15:57 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 8 Oct 2019 10:14:30 +0000 (12:14 +0200)
commit0964a95120fa024888fbc0ea5e34d1abef1b93dc
tree66f25b8b64eeb77e92ed8d7a92024f6fdc927555
parent7063df198587be7a94339c0783840c9b8ec58e16
bus/dpaa: fix dpaa_sec blacklist

The black list of dpaa_sec devices fails.
EAL: failed to parse device "dpaa:dpaa_sec-1"

This patch address following issues:
- bus usages dpaa-sec while the driver usage dpaa_sec
- bus usages numbers from 0 to MAX_SEC - while driver
probe usages sec number form max-fman_device +1

Fixes: 6e0752205bb2 ("bus/dpaa: support device blacklisting")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Reviewed-by: Sachin Saxena <sachin.saxena@nxp.com>
doc/guides/cryptodevs/dpaa_sec.rst
drivers/bus/dpaa/dpaa_bus.c
drivers/crypto/dpaa_sec/dpaa_sec.c