Skip to content

Commit

Permalink
Add CMIS QSFP support (sonic-net#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
andywongarista authored Nov 27, 2021
1 parent c1f317d commit 6ae1909
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sonic_platform_base/sonic_xcvr/codes/public/sff8024.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Sff8024(XcvrCodes):
27: 'DSFP',
28: 'Link-x4',
29: 'Link-x8',
30: 'QSFP+'
30: 'QSFP+C'
}

CONNECTORS = {
Expand Down
2 changes: 1 addition & 1 deletion sonic_platform_base/sonic_xcvr/xcvr_api_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def create_xcvr_api(self):
# TODO: load correct classes from id_mapping file
id = self._get_id()
# QSFP-DD or OSFP
if id == 0x18 or id == 0x19:
if id == 0x18 or id == 0x19 or id == 0x1e:
codes = CmisCodes
mem_map = CmisMemMap(codes)
xcvr_eeprom = XcvrEeprom(self.reader, self.writer, mem_map)
Expand Down

0 comments on commit 6ae1909

Please sign in to comment.