Thread (15 messages) flat view 15 messages, 4 authors, 2021-06-29

Re: [RFC PATCH net-next 0/4] ethtool: Add ability to write to transceiver module EEPROMs

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-06-29 17:27:12

On Thu, 24 Jun 2021 22:38:27 +0300 Ido Schimmel wrote:
quoted
I also wonder if it is safe to perform firmware upgrade from user
space?  
I have yet to write the relevant code in ethtool(8), but it should be
safe. See more below.
What's unclear to me is what difference does it make whether the code is
in kernel or in ethtool.git. If modules follow the standard the code
churn will be low. And we have to type the code up anyway it seems it
doesn't matter where it lies.

Where it does matter is if one wants to reuse existing user space built
on top of raw read/write interfaces.

IOW it shouldn't matter if we put the code in the kernel or user space
from effort perspective, but the latter is more risky.

You mention some limited sensor resources, isn't this exactly the
resource management the kernel is supposed to perform?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help