On Fri, Sep 25, 2026 at 12:44:08PM +0200, Björn Töpel wrote:
From: Jakub Kicinski <kuba@kernel.org>
netdev_config manipulation will become slightly more complicated
soon and will be used by both ethtool and the queue API.
Encapsulate the logic in helper functions.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Björn Töpel <bjorn@kernel.org>
Reviewed-by: Breno Leitao <leitao@debian.org>
---
net/core/dev.c | 7 ++-----
net/core/dev.h | 5 +++++
net/core/netdev_config.c | 37 +++++++++++++++++++++++++++++++++++++
net/ethtool/netlink.c | 15 +++++++--------
4 files changed, 51 insertions(+), 13 deletions(-)
Reviewed-by: Joe Damato <redacted>