rawdev: allow queue config query to return error
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 10 Sep 2020 14:36:07 +0000 (15:36 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 11 Sep 2020 09:51:15 +0000 (11:51 +0200)
commit13f8e4a27ee5baab0b5778c8e0a3df656a81b87c
tree9a7e5ea19b33350dbad50b2ffbaff407e655e62d
parentf574ed8116e39588dcc1b1bef8dd7b96e8d431bb
rawdev: allow queue config query to return error

The driver APIs for returning the queue default config can fail if the
parameters are invalid, or other reasons, so allow them to return error
codes to the rawdev layer and from hence to the app.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
doc/guides/rel_notes/release_20_11.rst
drivers/raw/ntb/ntb.c
drivers/raw/skeleton/skeleton_rawdev.c
lib/librte_rawdev/rte_rawdev.c
lib/librte_rawdev/rte_rawdev_pmd.h