diff options
author | 2015-11-24 18:40:16 +0200 | |
---|---|---|
committer | 2015-11-24 18:40:16 +0200 | |
commit | 045d0f8f31b2e68b8f726377fabb3205b5d19cf5 (patch) | |
tree | 763f96d4bb15f32c64d3e1ec35e82e3309af1faa /src/stateless/cp/trex_stateless_port.h | |
parent | ac6f8e7c7c4e957a31c19c1fe4a0997009c6e733 (diff) |
added support for percentage on start
also added info about the correct interface driver and speed
from DPDK layer
Diffstat (limited to 'src/stateless/cp/trex_stateless_port.h')
-rw-r--r-- | src/stateless/cp/trex_stateless_port.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/stateless/cp/trex_stateless_port.h b/src/stateless/cp/trex_stateless_port.h index 6adb5fef..20acd927 100644 --- a/src/stateless/cp/trex_stateless_port.h +++ b/src/stateless/cp/trex_stateless_port.h @@ -23,8 +23,8 @@ limitations under the License. #include <trex_stream.h> #include <trex_dp_port_events.h> +#include <internal_api/trex_platform_api.h> -class TrexPlatformApi; class TrexStatelessCpToDpMsgBase; /** @@ -126,7 +126,7 @@ public: * @param driver * @param speed */ - void get_properties(std::string &driver, std::string &speed); + void get_properties(std::string &driver, TrexPlatformApi::driver_speed_e &speed); /** @@ -260,6 +260,9 @@ private: port_state_e m_port_state; std::string m_owner; std::string m_owner_handler; + std::string m_driver_name; + + TrexPlatformApi::driver_speed_e m_speed; /* holds the DP cores associated with this port */ std::vector<int> m_cores_id_list; |