Thread (48 messages) 48 messages, 3 authors, 2021-01-10

RE: [EXT] Re: [PATCH RFC net-next 11/19] net: mvpp2: add flow control RXQ and BM pool config callbacks

From: Stefan Chulski <hidden>
Date: 2021-01-10 18:40:08
Also in: lkml

Sorry, but that is not really a decision the driver can make. It is part of a kernel
that _does_ support CPU hotplug, and the online CPUs can be changed today.

It is likely that every distro out there builds the kernel with CPU hotplug
enabled.

If changing the online CPUs causes the driver to misbehave, that is a(nother)
bug with the driver.
This function doesn't really need to know num_active_cpus, only host ID used by
used by shared RX interrupt in single queue mode.
Host ID is just register address space used to access PPv2 register space.
So I can remove this use of  num_active_cpus.

Stefan,
Regards.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help