numam-dpdk/lib/librte_ether
Jia Yu a720aadd44 ethdev: return status of stats read
rte_eth_stats_get is to get physical device statistics. Without
return status, caller does not know whether function fails or not
(i.e. invalid port_id, driver has no stats_get callback). Caller
cannot differiente normal 0 stats or error case. This fix adds
a return status to the function.

Signed-off-by: Jia Yu <jyu@vmware.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
2015-02-18 17:50:15 +01:00
..
Makefile mk: add library version extension 2015-02-03 16:56:58 +01:00
rte_eth_ctrl.h ethdev: add hash configuration 2015-02-02 16:13:54 +01:00
rte_ethdev.c ethdev: return status of stats read 2015-02-18 17:50:15 +01:00
rte_ethdev.h ethdev: return status of stats read 2015-02-18 17:50:15 +01:00
rte_ether_version.map lib: provide initial versioning 2015-02-03 16:56:58 +01:00
rte_ether.h bond: add mode 4 2014-11-27 21:20:58 +01:00