net/i40e: refactor some stats related functions
authorWei Zhao <wei.zhao1@intel.com>
Thu, 21 Sep 2017 06:32:25 +0000 (14:32 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000 (02:49 +0200)
commitbd7883c07d4aa23959d71d6e67e072687cc21419
tree37bc07b286e6e72adcccfeab3d8be07382b6fcf8
parent0e7ba7326f2d8f8e8a6286bbd96e0a361455448b
net/i40e: refactor some stats related functions

Merge i40evf_dev_stats_get and i40evf_get_statistics to be one function.

Rename i40evf_update_stats to i40evf_query_stats,
and chang i40evf_update_vsi_stats to i40evf_update_stats.

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c