-
Notifications
You must be signed in to change notification settings - Fork 216
Description
sonic-platform-common/sonic_sfp/sfputilbase.py
sfp module dom eeprom related issues(qsfp module works fine):
There are two situations in the DOM information location in the sfp module, we need a unified way to handle both cases.
Case A. i2c addr: 0x50 device node, offset 256-511
Case B. i2c addr: 0x51 device node, offset 0-255
-
def get_eeprom_dom_raw(self, port_num). This function now actually gets i2c addr: 0x50, offset 0-255, which doesn't seem to work. (The following situation will only use 0x50)
if port_num in self.port_to_eeprom_mapping.keys(): sysfs_sfp_i2c_client_eeprom_path = self.port_to_eeprom_mapping[port_num] -
def get_transceiver_dom_info_dict(self, port_num). This function now actually gets i2c addr: 0x50, offset 256-511, which does not work properly in case B.
-
line 1020,def get_transceiver_dom_info_dict(self, port_num): sfpd_obj = sff8472Dom() not working, calibration_type is not properly initialized.