ethdev: extract xstat basic stat count calculation
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 19 Oct 2017 22:39:55 +0000 (23:39 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 00:33:01 +0000 (02:33 +0200)
commit2624e2f40a7f6ae013331759759ef98c9a5a2ce2
treec28d80d2887b320326a66b44caaa941ef89b6374
parent50dcb0c521ca996f14e9121c176006cb669b6686
ethdev: extract xstat basic stat count calculation

Extract into static inline function so that can be used by other
functions.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_ether/rte_ethdev.c