ethdev: refactor basic stats code
authorElza Mathew <elza.mathew@intel.com>
Wed, 6 Dec 2017 00:25:06 +0000 (16:25 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit185e5381463579550bc92eeb5950a1df3694ee99
tree202a2c9b6200ce90ec4fdf1b02af5f07c615d52c
parente29109323595beb3884da58126ebb3b878cb66f5
ethdev: refactor basic stats code

Moved the code to get the basic stats names and values
into static functions.

Signed-off-by: Elza Mathew <elza.mathew@intel.com>
Reviewed-by: Lee Daly <lee.daly@intel.com>
lib/librte_ether/rte_ethdev.c