Re: [dpdk-dev] [PATCH v7] ethdev: add queue state when retrieve queue information

2021-04-19 Thread Ferruh Yigit
On 4/19/2021 10:03 AM, Thomas Monjalon wrote: 19/04/2021 10:57, Lijun Ou: Currently, upper-layer application could get queue state only through pointers such as dev->data->tx_queue_state[queue_id], this is not the recommended way to access it. So this patch add get queue state when call rte_eth_

Re: [dpdk-dev] [PATCH v7] ethdev: add queue state when retrieve queue information

2021-04-19 Thread Thomas Monjalon
19/04/2021 10:57, Lijun Ou: > Currently, upper-layer application could get queue state only > through pointers such as dev->data->tx_queue_state[queue_id], > this is not the recommended way to access it. So this patch > add get queue state when call rte_eth_rx_queue_info_get and > rte_eth_tx_queue_

[dpdk-dev] [PATCH v7] ethdev: add queue state when retrieve queue information

2021-04-19 Thread Lijun Ou
Currently, upper-layer application could get queue state only through pointers such as dev->data->tx_queue_state[queue_id], this is not the recommended way to access it. So this patch add get queue state when call rte_eth_rx_queue_info_get and rte_eth_tx_queue_info_get API. Note: After add queue_s