On Sun, Jul 19, 2020 at 11:14:40PM +0300, Alexander Lobakin wrote: > Currently qed driver already ran out of 32 bits to store link modes, > and this doesn't allow to add and support more speeds. > Convert link mode to bitmap that will always have enough space for > any number of speeds and modes.
Hi Alexander Why not just throw away all these QED_LM_ defines and use the kernel link modes? The fact you are changing the u32 to a bitmap suggests the hardware does not use them. Andrew