On 2015/10/14 19:50, Ananyev, Konstantin wrote: > Hi Amine, > >> -----Original Message----- >> From: Amine Kherbouche [mailto:amine.kherbouche at 6wind.com] >> Sent: Wednesday, October 14, 2015 12:40 PM >> To: Ananyev, Konstantin; dev at dpdk.org >> Subject: Re: [dpdk-dev, PATCHv5, 1/8] ethdev: add new API to retrieve RX/TX >> queue information >> >> >> >> Hi Konstantin >>> +/** >>> + * Ethernet device RX queue information structure. >>> + * Used to retieve information about configured queue. >>> + */ >>> +struct rte_eth_rxq_info { >>> + struct rte_mempool *mp; /**< mempool used by that queue. */ >>> + struct rte_eth_rxconf conf; /**< queue config parameters. */ >>> + uint8_t scattered_rx; /**< scattered packets RX supported. */ >>> + uint16_t nb_desc; /**< configured number of RXDs. */ >> Here i need two more fields in this struct : >> uint16_t free_desc : for free queue descriptors >> uint16_t used_desc : for used queue descriptors
But as I know it is different all the time, am I right? If yes, I don't know what's the value of this field. Thanks, Michael >>> +} __rte_cache_aligned; >