mbox series

[net-next,v2,0/2] ethtool: provide the dim profile fine-tuning channel

Message ID 1711531146-91920-1-git-send-email-hengqi@linux.alibaba.com (mailing list archive)
Headers show
Series ethtool: provide the dim profile fine-tuning channel | expand

Message

Heng Qi March 27, 2024, 9:19 a.m. UTC
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

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(-)