[PATCH net-next v2 0/2] ethtool: provide the dim profile fine-tuning channel
From: Heng Qi <hidden>
Date: 2024-03-27 09:19:10
The NetDIM library provides excellent acceleration for many modern network cards. However, the default profiles of DIM limits its maximum capabilities for different NICs, so providing a way reusing "ethtool -C" through which the NIC can be custom configured is necessary. Please review, thank you very much! Changelog ====== v1->v2: - Use ethtool tool instead of net-sysfs V1 link: https://lore.kernel.org/all/1710421773-61277-1-git-send-email-hengqi@linux.alibaba.com/#r (local) Heng Qi (2): ethtool: provide customized dim profile management virtio-net: support dim profile fine-tuning Documentation/networking/ethtool-netlink.rst | 8 +++++ drivers/net/virtio_net.c | 54 ++++++++++++++++++++++++++-- include/linux/dim.h | 7 ++++ include/linux/ethtool.h | 16 ++++++++- include/uapi/linux/ethtool_netlink.h | 4 +++ lib/dim/net_dim.c | 6 ---- net/ethtool/coalesce.c | 51 ++++++++++++++++++++++++-- net/ethtool/netlink.h | 35 ++++++++++++++++++ 8 files changed, 170 insertions(+), 11 deletions(-) -- 1.8.3.1