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 pa
ared to make changes in all queue_info_get() too,
> my opinion - let's leave it as it is for 2.2, and add new fields in later
> releases.
Thanks for your answer, I'm almost done with all changes in
queue_info_get(), so i have just to
test and send a series of v6 for your series.
Best,
Amine Kherbouche
>
> So your v6 will make all implemented queue_info_get()s to fill these two new
> fields correctly, right?
> Konstantin
Yes.
Amine Kherbouche
This v6 series is an enhancement to queue information API v5.
Amine Kherbouche (6):
ethdev: enhance rte_eth_(tx|rx)q_info struct
testpmd: enhance the command to display RX/TX queue information
virtio: add support for eth_(rxq|txq)_info_get
e1000: enhance eth_(rxq|txq)_info_get to retrieve
Add 2 fields in struct rte_eth_(tx|rx)q_info :
- used_desc : for used queue descriptors
- free_desc : for free queue descriptors
for ability to query more information from queues.
Signed-off-by: Amine Kherbouche
---
lib/librte_ether/rte_ethdev.h |4
1 file changed, 4 insertions
Display the additional information added in rte_eth_txq_info struct
for queue descriptors.
Signed-off-by: Amine Kherbouche
---
app/test-pmd/config.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index aad2ab6
In the case of virtio, there are many fields in rte_eth_(tx|rxq)_info
struct that aren't set in this function because those fields are
missed in virtqueue struct.
Signed-off-by: Amine Kherbouche
---
drivers/net/virtio/virtio_ethdev.c | 28
drivers/net/v
Enhance both functions of e1000 and igb to retrieve more informations
about queue descriptors according to new adds on rte_eth_(tx|rx)q_info
struct
Signed-off-by: Amine Kherbouche
---
drivers/net/e1000/em_rxtx.c |4
drivers/net/e1000/igb_rxtx.c |4
2 files changed, 8
According to new fields in struct rte_eth_rxq_info, those are filled to
add additional information about queue descriptors.
Signed-off-by: Amine Kherbouche
---
drivers/net/i40e/i40e_rxtx.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e
According to new adds on struct rte_eth_rxq_info, some adds are done
to this function to retreive information about used and free queue
descriptors.
Signed-off-by: Amine Kherbouche
---
drivers/net/ixgbe/ixgbe_rxtx.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ixgbe
> Yep, similar thought here:
> In the for Intel HW implementations:
> qinfo->used_desc = ixgbe_dev_rx_queue_count(dev, queue_id);
> It seems a bit redundant, as if user wants to know HW state it can call
> rte_eth_rx_queue_count() directly.
> From other side: rte_eth_rx_queue_count() is quite heav
This patch removes all unused headers.
Signed-off-by: Amine Kherbouche
---
app/test-pipeline/config.c | 1 -
app/test-pipeline/main.c | 1 -
app/test-pmd/config.c | 1 -
app/test-pmd/csumonly.c
12 matches
Mail list logo