On 3.3.2020. 11:37, Martin Pieuchot wrote: > Currently em_hw_init() uses some hardcorded values to configure TX > rings. Diff below convert it to use the value of the first queue. > This is currently a no-op. It makes the code consistent with the > rest of the driver and reduce the size of upcoming diffs. > > Note that even if a single queue is currently used two of them are > setup. Document this has an historical behavior and keep it like it > is, there's not much need to introduce regression here :)
no regression found on em0 at pci1 dev 0 function 0 "Intel 82571EB" rev 0x06: apic 0 int 16 em2 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi em2 at pci2 dev 0 function 0 "Intel 82572EI" rev 0x06: apic 9 int 8 em3 at pci6 dev 0 function 0 "Intel I350" rev 0x01: msi em1 at pci1 dev 0 function 1 "Intel 82576" rev 0x01: msi