diff options
author | imarom <imarom@cisco.com> | 2016-03-08 09:20:02 +0200 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-03-10 17:16:36 +0200 |
commit | 60fbd456c4d804adc903839f916c9c2bbe272d94 (patch) | |
tree | 319c377cbf8ac4c857bd2a60090bcd687b3541c1 /src/internal_api | |
parent | 834431083b4f9e6ac7eac00d5ec6682c92b16da9 (diff) |
RX stats - major refactor
Diffstat (limited to 'src/internal_api')
-rw-r--r-- | src/internal_api/trex_platform_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal_api/trex_platform_api.h b/src/internal_api/trex_platform_api.h index b1cf2fb7..e9cf56d7 100644 --- a/src/internal_api/trex_platform_api.h +++ b/src/internal_api/trex_platform_api.h @@ -214,7 +214,7 @@ public: virtual void get_interface_stats(uint8_t interface_id, TrexPlatformInterfaceStats &stats) const { } - virtual void get_interface_stat_info(uint8_t interface_id, uint16_t &num_counters, uint16_t &capabilities) const {num_counters=128; capabilities=0; } + virtual void get_interface_stat_info(uint8_t interface_id, uint16_t &num_counters, uint16_t &capabilities) const {num_counters=128; capabilities=TrexPlatformApi::IF_STAT_IPV4_ID; } virtual void port_id_to_cores(uint8_t port_id, std::vector<std::pair<uint8_t, uint8_t>> &cores_id_list) const { for (int i = 0; i < m_dp_core_count; i++) { |