rawdev: fix missing queue count API
authorShreyansh Jain <shreyansh.jain@nxp.com>
Tue, 31 Jul 2018 10:33:02 +0000 (16:03 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 1 Aug 2018 16:25:10 +0000 (18:25 +0200)
commite728f9d92c21604ccda993c6ce856c7503041685
tree2c7166e30eb162b823b80d737dd6802bd9bbdb73
parent8224b9d682d436c3d9f5f448e9f8a19fb872ed40
rawdev: fix missing queue count API

Rawdev queue count API prototype was declared, but the definition was
missing from the library. This patch implements the function.

This API is used to query the device about the count of queues it has
been configured with.

Fixes: c88b3f2558ed ("rawdev: introduce raw device library")
Cc: stable@dpdk.org
Suggested-by: Keith Wiles <keith.wiles@intel.com>
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
lib/librte_rawdev/rte_rawdev.c
lib/librte_rawdev/rte_rawdev.h
lib/librte_rawdev/rte_rawdev_pmd.h
lib/librte_rawdev/rte_rawdev_version.map