mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-16 21:07:13 +00:00
![]() The test is implicitly assuming the device only has 2 queues.
A real device will likely have more. The exact problem is that
because NAPIs get added to the list from the head, the netlink
dump reports them in reverse order. So the naive napis[0] will
actually likely give us the _last_ NAPI, not the first one.
Re-enable all the NAPIs instead of hard-coding 2 in the test.
This way the NAPIs we operated on will always reappear,
doesn't matter where they were in the registration order.
Fixes:
|
||
---|---|---|
.. | ||
dma-buf | ||
gpu | ||
net | ||
ntsync | ||
platform/x86/intel/ifs | ||
s390x/uvdevice | ||
sdsi | ||
usb/usbip | ||
.gitignore |