> >> 100000baseKR2/Full > >> 100000baseSR2/Full > >> 100000baseCR2/Full > >> 100000baseLR2_ER2_FR2/Full > >> 100000baseDR2/Full > > > >I'm not sure i fully understand all these different link modes, but i > >thought these 5 are all 100G using 2 lanes? So why cannot the user > >simply do > > > >ethtool -s swp1 advertise 100000baseKR2/Full > > > >and the driver can figure out it needs to use two lanes at 50G? > > 100000baseKR2 is 2 lanes. No need to figure anything out. What do you > mean by that?
I'm just thinking, rather than add a new UAPI for the number of lanes, why not use one we already have, if the number of lanes is implied by the link mode. Andrew