From patchwork Fri Nov 20 06:24:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tanhuazhong X-Patchwork-Id: 1403488 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4CcmkD1SH7z9sTL for ; Fri, 20 Nov 2020 17:25:08 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726159AbgKTGYq (ORCPT ); Fri, 20 Nov 2020 01:24:46 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:8009 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725824AbgKTGYp (ORCPT ); Fri, 20 Nov 2020 01:24:45 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CcmjR1rfzzhdV0; Fri, 20 Nov 2020 14:24:27 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Fri, 20 Nov 2020 14:24:33 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [RFC V2 net-next 0/2] net: updates for -next Date: Fri, 20 Nov 2020 14:24:37 +0800 Message-ID: <1605853479-4483-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org #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-tanhuazhong@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(-)