Skip to content

Commit 723b5bd

Browse files
committed
Add comments
Signed-off-by: Stephen Sun <stephens@nvidia.com>
1 parent 2398069 commit 723b5bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

orchagent/portsorch.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ class PortsOrch : public Orch, public Subject
209209
unique_ptr<Table> m_gbcounterTable;
210210

211211
std::map<sai_object_id_t, PortSupportedSpeeds> m_portSupportedSpeeds;
212+
// Supported FEC modes on the system side.
212213
std::map<sai_object_id_t, PortSupportedFecModes> m_portSupportedFecModes;
213214

214215
bool m_initDone = false;
@@ -315,6 +316,7 @@ class PortsOrch : public Orch, public Subject
315316
bool isSpeedSupported(const std::string& alias, sai_object_id_t port_id, sai_uint32_t speed);
316317
void getPortSupportedSpeeds(const std::string& alias, sai_object_id_t port_id, PortSupportedSpeeds &supported_speeds);
317318
void initPortSupportedSpeeds(const std::string& alias, sai_object_id_t port_id);
319+
// Get supported FEC modes on system side
318320
void getPortSupportedFecModes(const std::string& alias, sai_object_id_t port_id, PortSupportedFecModes &supported_fecmodes);
319321
void initPortSupportedFecModes(const std::string& alias, sai_object_id_t port_id);
320322
task_process_status setPortSpeed(Port &port, sai_uint32_t speed);

0 commit comments

Comments
 (0)