Skip to content

Commit

Permalink
refactoring PortsOrch::getPortSupportedSpeeds
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstiantynHalushka authored Oct 27, 2021
1 parent cbf3621 commit b15a29f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orchagent/portsorch.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,10 @@ class PortsOrch : public Orch, public Subject

bool setBridgePortAdminStatus(sai_object_id_t id, bool up);

bool isSpeedSupported(const std::string& alias, sai_object_id_t port_id, sai_uint32_t speed);
void getPortSupportedSpeeds(const std::string& alias, sai_object_id_t port_id, PortSupportedSpeeds &supported_speeds);
const PortSupportedSpeeds& getSupportedSpeed(const std::string& alias, sai_object_id_t port_id);
void initPortSupportedSpeeds(const std::string& alias, sai_object_id_t port_id);
bool isSpeedSupported(const std::string& alias, sai_object_id_t port_id, sai_uint32_t speed);
task_process_status setPortSpeed(Port &port, sai_uint32_t speed);
bool getPortSpeed(sai_object_id_t id, sai_uint32_t &speed);
bool setGearboxPortsAttr(Port &port, sai_port_attr_t id, void *value);
Expand Down

0 comments on commit b15a29f

Please sign in to comment.