#2 will add DIM for the HNS3 ethernet driver, then there will be two implemation of IRQ adaptive coalescing (DIM and driver custiom, so #1 adds a new netlink attribute to the ETHTOOL_MSG_COALESCE_GET/ETHTOOL_MSG_COALESCE_SET commands which controls the type of adaptive coalescing.
change log: V2: fixes some problems in #1 reported by Andrew Lunn & Michal Kubecek. previous version: V1: https://patchwork.ozlabs.org/project/netdev/cover/1605758050-21061-1-git-send-email-tanhuazh...@huawei.com/ Huazhong Tan (2): ethtool: add support for controling the type of adaptive coalescing net: hns3: add support for dynamic interrupt moderation Documentation/networking/ethtool-netlink.rst | 1 + drivers/net/ethernet/hisilicon/Kconfig | 1 + drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 87 +++++++++++++++++++++- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 4 + drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 25 ++++++- include/linux/ethtool.h | 14 ++++ include/uapi/linux/ethtool_netlink.h | 1 + net/ethtool/coalesce.c | 35 ++++++++- net/ethtool/netlink.h | 2 +- 9 files changed, 165 insertions(+), 5 deletions(-) -- 2.7.4