Re: [LTP] [PATCH v4] kernel/uevent: Adjust the number of uevents dynamically in uevent02

Cyril Hrubis
2022-09-20T13:00:23Z

Hi!
> When CONFIG_SMP is not selected, CONFIG_RPS will not be enabled. Causes the
> kernel to not create rx queues in sysfs[1] when creating tun devices.
> Uevent02 will check if the rx queue exists, adjust the uevents dynamically
> in setup() to pass this test.
>
> [1]: https://github.com/torvalds/linux/blob/3245cb65fd91cd514801bf91f5a3066d562f0ac4/net/core/net-sysfs.c#L1109

Pushed, thanks.

> Signed-off-by: Dylan Jhong <dylan@andestech.com>
> ---

It's customary to add a note here (after the ---) about changes done
since the last patch revision, sometimes it's hard to spot the change
without a hint. In this case I nearly missed the difference since it
was one static keyword missing in v3.

--
Cyril Hrubis
chrubis@suse.cz

--
Mailing list info: https://lists.linux.it/listinfo/ltp