On Mon, Sep 28, 2026 at 12:13:28PM +0200, Vincent Jardin wrote: > + Each mode starts from the one in the 'from' column, which is > + entered first when SD1 is not in it yet, and so on down to what > + SRDS_PRTCL_S1 built: > + > + mode from SRDS_PRTCL_S1 lanes run on > + 2x100g - 13 PLLF > + 100g4x25g 2x100g 13 PLLF > + 2x40g 2x100g 13 PLLS > + 40g4x10g 2x40g 13 or 20 PLLS > + 100g4x10g 2x100g 13 PLLF and PLLS > + > + What each mode makes of the two four-lane ports of protocol 13: > + > + 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? 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. 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.
