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

2021-04-19 Thread oulijun
在 2021/4/19 16:41, Thomas Monjalon 写道: 19/04/2021 04:03, Lijun Ou: --- a/doc/guides/rel_notes/release_21_05.rst +++ b/doc/guides/rel_notes/release_21_05.rst +* **Enhanced function for getting rxq/txq info ABI.** Reword: Added queue state in queried Rx/Tx queue info + * Added new field ``

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

2021-04-19 Thread Thomas Monjalon
19/04/2021 04:03, Lijun Ou: > --- a/doc/guides/rel_notes/release_21_05.rst > +++ b/doc/guides/rel_notes/release_21_05.rst > +* **Enhanced function for getting rxq/txq info ABI.** Reword: Added queue state in queried Rx/Tx queue info > + * Added new field ``queue_state`` to ``rte_eth_rxq_info`` s

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

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