You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ycable] add definitions of some new API's for Y-Cable infrastructure (sonic-net#301)
Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com
This PR adds the following API's useful for muxcable MCU's debug, these are added as base class for muxcable API's and implemented by vendor
def queue_info(self):
This API should dump all the meaningful data from the eeprom which can
help vendor debug the queue info currently relevant to the MCU
using this API the vendor could check how many txns are currently in the queue etc
for debugging purpose
def reset_cause(self):
This API should return the reset cause for the NIC MCU.
This should help ascertain whether a reset was caused by soft reboot or
cable poweroff
def operation_time(self):
This API should return the time since the cable is powered on from NIC MCU side
This should be helpful in debugging purposes as to if/when the cable has been powered on
def mem_read(self):
This API should return the memory contents/as well as pointers/counters for DMA or hardware
FIFO's which could be useful for debugging the state of the MCU
0 commit comments