net: hns3: switch to dim algorithm for adaptive interrupt moderation
authorHuazhong Tan <tanhuazhong@huawei.com>
Tue, 25 May 2021 09:22:03 +0000 (17:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 May 2021 22:25:37 +0000 (15:25 -0700)
commit307ea4ce3edd3f7d1130d3c35955aa77063296cc
tree6e5a05cfe3e36ff894d1981beb4ae43ab06720a5
parentccc882f0d838cb45a1a78ea4e48c219887f920dc
net: hns3: switch to dim algorithm for adaptive interrupt moderation

The Linux kernel has support for a dynamic interrupt moderation
algorithm known as "dimlib". Replace the custom driver-specific
implementation of dynamic interrupt moderation with the kernel's
algorithm.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/Kconfig
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h