[dpdk-dev] packet sojourn time on TX/RX queues

2016-10-18 Thread Ali Volkan Atli
Hello I'm trying to implement CoDel algorithm on Intel's DPDK library, so I need to measure packet sojourn time (the time a packet stays in the queue before being sent) but I have trouble with measuring packet sojourn time on RX/TX queues because of DMA usage. When I call rte_eth_tx_burst() fu

[dpdk-dev] [PATCH] net/e1000: fix return value of eth_igb_rx_queue_count()

2016-07-27 Thread Ali Volkan ATLI
Signed-off-by: Ali Volkan ATLI --- drivers/net/e1000/igb_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c index 9d80a0b..c5db727 100644 --- a/drivers/net/e1000/igb_rxtx.c +++ b/drivers/net/e1000/igb_rxtx.c

[dpdk-dev] How to get the number of used descriptors for vHost-users

2016-08-18 Thread Ali Volkan Atli
Hi all Is there a function -like rte_eth_rx_queue_count()- to get the number of used (or free) descriptors in a vHost RX/TX's queue? I used rte_vhost_avail_entries() but I'm not sure it is correct way. Thanks in advance. - Volkan