Hi Vladimir, > > + mode dpmac.2 port dpmac.1 port > > + 2x100g 100GE 100GE > > + 100g4x25g 100GE 4x 25G: dpmac.3 to dpmac.6 > > + 2x40g 40GE 40GE > > + 40g4x10g 40GE 4x XFI: dpmac.3 to dpmac.6 > > + 100g4x10g 100GE 4x XFI: dpmac.3 to dpmac.6 > > How much do you plan to extend this, really?
That's it. They are the 5 scenarios I am interested in for my use cases. I did briefly try some others split of the first 4 lanes instead of 100G and 40G, it seems workable. I'll leave those to who ever needs it. > Do you ever plan to support a mode with multiple 'from' modes? > > Like for example, 100g4x25g can come either from 2x100g, or from 100g4x10g. > The sd1_enter() recursion and graph traversal becomes quite a bit more > complicated. I do not think it is needed starting from a uboot/boot settings. At the current states, SD1 is always from RCW 13 (or 20). It means that sd1 cannot be in 100G+4x10G when 100G+4x25G is requested. > But in principle, there's nothing saying you can transition to one > SerDes protocol just from a single source. In that sense, I think your > choices are rather arbitrary and may not suit everyone, so talking about > multiple sources now seems rather adequate. I guess you are right that more transitions should be possible, but I'd like to leave those for a later design. I guess, based on the current user uboot shell and env/hwconfig, we can still reshuffle it later for more scenarios. best regards, Vnincent
