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

2021-04-15 Thread Thomas Monjalon
15/04/2021 14:45, Ferruh Yigit: > On 4/15/2021 1:36 PM, Thomas Monjalon wrote: > > 15/04/2021 14:33, Ferruh Yigit: > >> On 4/15/2021 3:40 AM, Lijun Ou wrote: > >>> Currently, upper-layer application could get queue state only > >>> through pointers such as dev->data->tx_queue_state[queue_id], > >>>

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

2021-04-15 Thread Ferruh Yigit
On 4/15/2021 1:36 PM, Thomas Monjalon wrote: 15/04/2021 14:33, Ferruh Yigit: On 4/15/2021 3:40 AM, Lijun Ou wrote: 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 pa

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

2021-04-15 Thread Thomas Monjalon
15/04/2021 14:33, Ferruh Yigit: > On 4/15/2021 3:40 AM, Lijun Ou wrote: > > 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 ca

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

2021-04-15 Thread Ferruh Yigit
On 4/15/2021 3:40 AM, Lijun Ou wrote: 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_queu

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

2021-04-14 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