[dpdk-dev] [dpdk-dev, PATCHv5, 1/8] ethdev: add new API to retrieve RX/TX queue information

2015-10-14 Thread Amine Kherbouche
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

[dpdk-dev] [dpdk-dev, PATCHv5, 1/8] ethdev: add new API to retrieve RX/TX queue information

2015-10-14 Thread Amine Kherbouche
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

[dpdk-dev] [dpdk-dev, PATCHv5, 1/8] ethdev: add new API to retrieve RX/TX queue information

2015-10-14 Thread 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

[dpdk-dev] [dpdk-dev,PATCHv6 0/6] Enhance queue information API.

2015-10-20 Thread 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

[dpdk-dev] [dpdk-dev, PATCHv6 1/6] ethdev: enhance rte_eth_(tx|rx)q_info struct

2015-10-20 Thread Amine Kherbouche
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

[dpdk-dev] [dpdk-dev, PATCHv6 2/6] testpmd: enhance the command to display RX/TX queue information

2015-10-20 Thread Amine Kherbouche
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

[dpdk-dev] [dpdk-dev, PATCHv6 3/6] virtio: add support for eth_(rxq|txq)_info_get

2015-10-20 Thread Amine Kherbouche
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

[dpdk-dev] [dpdk-dev, PATCHv6 4/6] e1000: enhance eth_(rxq|txq)_info_get to retrieve more queue information

2015-10-20 Thread Amine Kherbouche
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

[dpdk-dev] [dpdk-dev, PATCHv6 5/6] i40e: enhance eth_(rxq|txq)_info_get to retrieve more queue information

2015-10-20 Thread Amine Kherbouche
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

[dpdk-dev] [dpdk-dev, PATCHv6 6/6] ixgbe: enhance eth_(rxq|txq)_info_get to retrieve more queue information

2015-10-20 Thread Amine Kherbouche
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

[dpdk-dev] [dpdk-dev, PATCHv6 1/6] ethdev: enhance rte_eth_(tx|rx)q_info struct

2015-10-20 Thread Amine Kherbouche
> 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

[dpdk-dev] [PATCH] remove unused ring includes

2016-08-31 Thread Amine Kherbouche
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