i40evf: expose queue info functions reused from PF
authorBeilei Xing <beilei.xing@intel.com>
Thu, 28 Apr 2016 03:18:19 +0000 (11:18 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 6 May 2016 13:51:22 +0000 (15:51 +0200)
commitb9a10de8d37bd373246e74ad1a414b1abd53c680
tree3053c1c1b6a90ec91d37ed77e88201436bbceada
parent4a3259d620f8d6eeaec2f4614556a6b00a8f4754
i40evf: expose queue info functions reused from PF

Add three new functions to the vf ops structure:
* rx_queue_count
* rxq_info_get
* txq_info_get
In all cases, the corresponding PF APIs can be reused.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c