Hello,
I'm looking for info/help on how restool/MC-utils determines the number of dpmac devices that are available, and how I can modify this. Does it have it's own SERDES lookup table somewhere?
For example on the lx2160a:
If I boot with SD1=8, I see 8 dpmac devices corresponding the 8xUSXGMII lanes.
If I boot with SD1=17, I see 4 dpmac corresponding the the 4x25GE (and none for PCIe lanes).
If I boot with SD1=17 (modified to have 4x25G+4xUSGMII) I only get 4 dpmac.
Modifying the DPL file to declare more dpmac lanes is discarded/ignored by restool.
Modifying the SERDES definition in u-boot SERDES table is discarded/ignored by restool.
Trying to manually add more dpmac via restool results in :
> restool dpmac create --mac-id=7 #create dpmac.7
MC error: Invalid state (status 0xc)
> restool --mc-version
MC firmware version 10.28.1
My SFP modules are detected during kernel boot in the USXGMII lanes, but I cannot create dpni objects as I lack dpmac for them. I can use the 25G dpmac however.
I have modified my SERDES (following Application Note #AN13022) to have 4x25G+4xUSXGMII, but I cannot determine what in LSDK21.08 is blocking MC-utils from creating dpmac for these interfaces.
Is there any documentation / help on this?