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

2021-04-23 Thread Kinsella, Ray
..@openeuler.org >> Subject: Re: [dpdk-dev] [PATCH V5] ethdev: add queue state when retrieve >> queue information >> >> >> >> On 17/04/2021 04:09, Lijun Ou wrote: >>> Currently, upper-layer application could get queue state only >>> through pointe

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

2021-04-23 Thread Ananyev, Konstantin
> -Original Message- > From: dev On Behalf Of Kinsella, Ray > Sent: Friday, April 23, 2021 12:17 PM > To: Lijun Ou ; tho...@monjalon.net; Yigit, Ferruh > > Cc: dev@dpdk.org; linux...@openeuler.org > Subject: Re: [dpdk-dev] [PATCH V5] ethdev: add queue state w

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

2021-04-23 Thread Kinsella, Ray
On 17/04/2021 04:09, 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_e

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

2021-04-18 Thread oulijun
在 2021/4/18 6:00, Ferruh Yigit 写道: On 4/17/2021 4:09 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_et

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

2021-04-18 Thread oulijun
在 2021/4/18 6:00, Ferruh Yigit 写道: On 4/17/2021 4:09 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_et

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

2021-04-17 Thread Ferruh Yigit
On 4/17/2021 4:09 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 V5] ethdev: add queue state when retrieve queue information

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