net/i40e: set/clear VF stats from PF
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 17 Jan 2017 08:45:27 +0000 (16:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:46:25 +0000 (19:46 +0100)
commite61e47c2c377d89ba3d4bc94228949fb63bab69c
tree8d43c9062c9561e106ee30d6923a1cf2ad99a9f8
parentec852c94af39bf384fde9a9addcaa8294466ddcb
net/i40e: set/clear VF stats from PF

This patch add support to get/clear VF statistics
from PF side.
Two APIs are added:
rte_pmd_i40e_get_vf_stats.
rte_pmd_i40e_reset_vf_stats.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Vincent Jardin <vincent.jardin@6wind.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/rte_pmd_i40e.h
drivers/net/i40e/rte_pmd_i40e_version.map