bus/fslmc: support scanned device count
authorShreyansh Jain <shreyansh.jain@nxp.com>
Tue, 2 Jan 2018 13:08:38 +0000 (18:38 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit42dcf0e2e7a2649b6cec512055f3cf214b5533e6
tree0a3ce6cedae7b84199d456de34dc8264e8f5fe6e
parent8052bbd9d548b11cc35826553ed79ded65fddd1d
bus/fslmc: support scanned device count

FSLMC bus detects a multiple type of logical objects representing
components of the datapath.

Using the type of device, a newly introduced API
rte_fslmc_get_device_count can return the count of devices
scanned of that device type.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/fslmc_bus.c
drivers/bus/fslmc/rte_bus_fslmc_version.map
drivers/bus/fslmc/rte_fslmc.h