summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_rxtx.h
diff options
context:
space:
mode:
authorTom Barbette <barbette@kth.se>2018-10-27 17:10:55 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2018-11-05 15:01:25 +0100
commit26f04883441ad0471af87a4fa40da6d816e7c4d7 (patch)
tree6c8e6bfb0cc8bacbac54a21e736b23297b6404da /drivers/net/mlx5/mlx5_rxtx.h
parenta4391f8bae85db0153e1f101c21c61151573baad (diff)
downloaddpdk-26f04883441ad0471af87a4fa40da6d816e7c4d7.zip
dpdk-26f04883441ad0471af87a4fa40da6d816e7c4d7.tar.gz
dpdk-26f04883441ad0471af87a4fa40da6d816e7c4d7.tar.xz
net/mlx5: support Rx queue count API
This patch adds support for the rx_queue_count API in mlx5 driver Signed-off-by: Tom Barbette <barbette@kth.se> Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_rxtx.h')
-rw-r--r--drivers/net/mlx5/mlx5_rxtx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5_rxtx.h b/drivers/net/mlx5/mlx5_rxtx.h
index 1db468c..1b6200f 100644
--- a/drivers/net/mlx5/mlx5_rxtx.h
+++ b/drivers/net/mlx5/mlx5_rxtx.h
@@ -345,6 +345,7 @@ uint16_t removed_rx_burst(void *dpdk_rxq, struct rte_mbuf **pkts,
uint16_t pkts_n);
int mlx5_rx_descriptor_status(void *rx_queue, uint16_t offset);
int mlx5_tx_descriptor_status(void *tx_queue, uint16_t offset);
+uint32_t mlx5_rx_queue_count(struct rte_eth_dev *dev, uint16_t rx_queue_id);
/* Vectorized version of mlx5_rxtx.c */
int mlx5_check_raw_vec_tx_support(struct rte_eth_dev *dev);