ethdev: add API to get device configuration
authorJie Wang <jie1x.wang@intel.com>
Thu, 14 Oct 2021 10:31:23 +0000 (18:31 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 15 Oct 2021 11:27:05 +0000 (13:27 +0200)
commit632be32735107a09672a897b6123b8dc4d15b6ae
treecd4d8272d5bf0e54795786cae62e0ba555eb3917
parent51c1b8f8a0f0ae6fca1692d6af4bdb1d7b65b3c8
ethdev: add API to get device configuration

The driver may change offloads info into dev->data->dev_conf
in dev_configure which may cause apps use outdated values.

Add a new API to get actual device configuration.

Signed-off-by: Jie Wang <jie1x.wang@intel.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/rel_notes/release_21_11.rst
lib/ethdev/rte_ethdev.c
lib/ethdev/rte_ethdev.h
lib/ethdev/version.map