author | Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com> | |
Wed, 8 Feb 2017 14:28:09 +0000 (14:28 +0000) | ||
committer | Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com> | |
Wed, 8 Feb 2017 14:48:37 +0000 (14:48 +0000) | ||
commit | 075e86f1cacd5fb29f9d954e61792e623169bdca | |
tree | 1cf8195c4300115b32fd77e2d2bd8c73a8e0a58f | tree | snapshot |
parent | 877672d20fcf0ed25f5fc5faa8aa3964c622bc27 | commit | diff |
dpdkstat: Fix metrics' types
This patch fixes parsing of metrics' types. Some statistics, such as
rx_q0errors, rx_q0bytes or rx_q0packet, don't contain suffix _errors, _bytes or
_packets. This has caused them to use generic type 'derive', rather than
more specific one, for instance 'if_rx_errors'. Additionally, some
statistics contain string 'error', rather than 'errors'.
Change-Id: I51dfa9c4d98346a654adbc4041b64ebd3897278c
Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
This patch fixes parsing of metrics' types. Some statistics, such as
rx_q0errors, rx_q0bytes or rx_q0packet, don't contain suffix _errors, _bytes or
_packets. This has caused them to use generic type 'derive', rather than
more specific one, for instance 'if_rx_errors'. Additionally, some
statistics contain string 'error', rather than 'errors'.
Change-Id: I51dfa9c4d98346a654adbc4041b64ebd3897278c
Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
src/dpdkstat.c | diff | blob | history |