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

2021-10-11 Thread Somnath Kotur
On Mon, Oct 11, 2021 at 3:34 PM Jie Wang wrote: > > The driver may change offloads info into dev->data->dev_conf > in dev_configure which may cause port->dev_conf and port->rx_conf > contain outdated values. > > This patch adds a new API "rte_eth_dev_conf_get()" to help users > get device configur

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

2021-10-11 Thread Andrew Rybchenko
On 10/11/21 9:01 PM, Jie Wang wrote: > The driver may change offloads info into dev->data->dev_conf > in dev_configure which may cause port->dev_conf and port->rx_conf port->dev_conf does not make sense outside of testpmd. So, it should not be mentioned in the description here. > contain outdated

[dpdk-dev] [PATCH v11 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 port->dev_conf and port->rx_conf contain outdated values. This patch adds a new API "rte_eth_dev_conf_get()" to help users get device configuration. Add information about the new API in release notes. S