Files
linux/drivers
Filip Pokryvka ee60e626d5 netdevsim: don't overwrite read only ethtool parms
Ethtool ring feature has _max_pending attributes read-only.
Set only read-write attributes in nsim_set_ringparam.

This patch is useful, if netdevsim device is set-up using NetworkManager,
because NetworkManager sends 0 as MAX values, as it is pointless to
retrieve them in extra call, because they should be read-only. Then,
the device is left in incosistent state (value > MAX).

Fixes: a7fc6db099 ("netdevsim: support ethtool ring and coalesce settings")
Signed-off-by: Filip Pokryvka <fpokryvk@redhat.com>
Link: https://lore.kernel.org/r/20211210175032.411872-1-fpokryvk@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-12-10 21:23:05 -08:00
..
2021-11-26 19:45:31 +01:00
2021-11-26 22:54:47 +01:00
2021-11-23 12:32:28 +01:00
2021-10-26 19:12:01 +02:00
2021-11-16 14:41:23 +01:00
2021-11-18 20:40:28 +01:00
2021-11-30 11:41:49 -07:00