summaryrefslogtreecommitdiffstats
path: root/src/mock/trex_platform_api_mock.cpp
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-01-05 15:24:33 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-01-05 15:24:33 +0200
commit349d47374639465d58bac37f6e93045a1f9bb718 (patch)
treeba493401f9892105e51d3a3a6f3f7b561e2987b8 /src/mock/trex_platform_api_mock.cpp
parent823b8294539f2e55db09795a7fff03d7be6b6346 (diff)
parent857bdcf05a920b99e1cf180c700176b04801da00 (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src/mock/trex_platform_api_mock.cpp')
-rw-r--r--src/mock/trex_platform_api_mock.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mock/trex_platform_api_mock.cpp b/src/mock/trex_platform_api_mock.cpp
index 54f71e10..416c4b69 100644
--- a/src/mock/trex_platform_api_mock.cpp
+++ b/src/mock/trex_platform_api_mock.cpp
@@ -47,3 +47,7 @@ TrexMockPlatformApi::get_dp_core_count() const {
return (1);
}
+void
+TrexMockPlatformApi::port_id_to_cores(uint8_t port_id, std::vector<std::pair<uint8_t, uint8_t>> &cores_id_list) const {
+ cores_id_list.push_back(std::make_pair(0, 0));
+}