How can i read i2c based SFP information (Connected to HPS) in Arria 10

Hi All,

I wanted to read Transceiver (SFP) information in Arria 10. Its connected to HPS using I2C (slave address is 0x50). “ethtool -m interface_name” is not giving the information because the get_module_info and get_eeprom functions are not added in ethernet driver.

Could you please help me solve this issue??

Thanks in Advavnce