Re: [dpdk-dev] [PATCH v12 1/2] ethdev: add an API to get device configuration

2021-10-11 Thread Andrew Rybchenko
On 10/12/21 5:54 AM, Jie Wang wrote: > 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 Acked-by: Andrew Rybchenko [snip] > diff --git a/

[dpdk-dev] [PATCH v12 1/2] ethdev: add an API to get device configuration

2021-10-11 Thread Jie Wang
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 --- doc/guides/rel_notes/release_21_11.rst | 4 lib/ethdev/rte_ethdev.c| 20 +++