aristanetworks / sonic

Open source drivers and initialization library for Arista platforms running SONiC
GNU General Public License v2.0
22 stars 30 forks source link

sfputil -p Ethernet0 get the wrong eeprom data #8

Closed lguohan closed 6 years ago

lguohan commented 6 years ago

sfputil -p Ehternet0 should be mapped the /sys/class/i2c-adapter/i2c-9/9-0050/eeprom

currently the sfputil -p Ethernet0 read the eeprom at i2c-11/11-0050/eeprom

this is on 7260cx-3 platform.

Staphylo commented 6 years ago

We realized this and have a fix upcoming. The recent merge request #5 added some latency here.

yxieca commented 6 years ago

This issue has been addressed with the latest sfputil change. 👍