net/fm10k: support Rx queue count API
authorXiao Wang <xiao.w.wang@intel.com>
Wed, 24 Apr 2019 07:51:36 +0000 (15:51 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 May 2019 16:40:06 +0000 (18:40 +0200)
commitf0e1ba5e9505a0497059a6166cfbed33a8f71648
tree1eac44d375a7bc4166ef55387de7ceb9bcce9661
parente6161345d8a94f3bfe0f12826035d30d81b9e115
net/fm10k: support Rx queue count API

Some application, e.g. the l3fwd-power sample uses rte_eth_rx_queue_count()
API to get the get the number of used descriptors of a Rx queue. This patch
adds fm10k implementation for this API.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/fm10k/fm10k.h
drivers/net/fm10k/fm10k_ethdev.c
drivers/net/fm10k/fm10k_rxtx.c