Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2925857pxb; Mon, 16 Nov 2020 00:24:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTd624MFyEjBavYLFNIiX06UUkp2VbwLdzJ0qebXxUjgRF599ZvhlH1cYODY96vcfpc+B1 X-Received: by 2002:a17:906:1e04:: with SMTP id g4mr13885874ejj.72.1605515050329; Mon, 16 Nov 2020 00:24:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605515050; cv=none; d=google.com; s=arc-20160816; b=UF2sELyG29qh2oHd8EsuvXDii5g2i78DSoeytc5l0QjRetE/JIm1Q7zTMC0jn/Js0X bcXHdY/bIWrEdSI1+zCOLy+AB0k9gRO+kQ/I6IFhgSAKakLqZ+DKFRzCbVxwqLz/Cfjj FoDigHlzdZDrMsKBG+ucKjLE9L+qtAx8wv7r49kKXgxKjTDZXKugI1JDhKal/+6yaJds Ls8Q2FlnoGNKP2kYR2Ewi+p+qnExI5VB7lkR0eRAY2TPPoJmkWcCPGIfJMrx+8XXuF/9 +Wb38L8gMeWCu/MNXoxyTW/eUD+88GqOchK/AvR+vzFv4AoM4uzCFPGqo+GdZ9GAQn6n 02gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=htaVvJr9aoGfMnwNURgmEhuIqUsLe+LHcSTV9Ws1OgU=; b=mxOptnW/O4g0My8zv4wo2uhIg9plWMDCzpAH3tLYoeU/aMiYic4byMGS2Ws0JTtM+m JUQhuHsRTYNyBbfmqlELbDUWtVuglV4P+pI/VBarGsngmy+W70FtvQs2VjSqx3pX/vCN VcUHl772I9NRn9lgZyFHJf7j9lMm/M5Hv6I1uzVYVfH8OB2Np9kUExkzwhGJcXjHBZeK w6Wb1cPNePqGOkvdFF6WgVDu31Qqa4Yh3cSaAEAgIVArfE7V12QKy9xEJdDat6uiCy8Z QXdP1/JUSX1cz2tf2crjt1s9nATjooOaGVViPb59rSQ4eWLyurtEzxCA3WAYD9OQ3Mzs HCSA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id us5si11476677ejb.394.2020.11.16.00.23.47; Mon, 16 Nov 2020 00:24:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726487AbgKPIUy (ORCPT + 99 others); Mon, 16 Nov 2020 03:20:54 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:7245 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726236AbgKPIUu (ORCPT ); Mon, 16 Nov 2020 03:20:50 -0500 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CZMT910cZzkYJF; Mon, 16 Nov 2020 16:20:29 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Mon, 16 Nov 2020 16:20:36 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH V4 net-next 0/4] net: hns3: updates for -next Date: Mon, 16 Nov 2020 16:20:50 +0800 Message-ID: <1605514854-11205-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are several updates relating to the interrupt coalesce for the HNS3 ethernet driver. #1 adds support for QL(quantity limiting, interrupt coalesce based on the frame quantity). #2 queries the maximum value of GL from the firmware instead of a fixed value in code. #3 adds support for 1us unit GL(gap limiting, interrupt coalesce based on the gap time). #4 renames gl_adapt_enable in struct hns3_enet_coalesce to fit its new usage. change log: V4 - remove #5~#10 from this series, which needs more discussion. V3 - fix a typo error in #1 reported by Jakub Kicinski. rewrite #9 commit log. remove #11 from this series. V2 - reorder #2 & #3 to fix compiler error. fix some checkpatch warnings in #10 & #11. previous version: V3: https://patchwork.ozlabs.org/project/netdev/cover/1605151998-12633-1-git-send-email-tanhuazhong@huawei.com/ V2: https://patchwork.ozlabs.org/project/netdev/cover/1604892159-19990-1-git-send-email-tanhuazhong@huawei.com/ V1: https://patchwork.ozlabs.org/project/netdev/cover/1604730681-32559-1-git-send-email-tanhuazhong@huawei.com/ Huazhong Tan (4): net: hns3: add support for configuring interrupt quantity limiting net: hns3: add support for querying maximum value of GL net: hns3: add support for 1us unit GL configuration net: hns3: rename gl_adapt_enable in struct hns3_enet_coalesce drivers/net/ethernet/hisilicon/hns3/hnae3.h | 1 + drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 1 + drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 99 ++++++++++++++++------ drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 17 +++- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 71 +++++++++++++--- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 8 ++ .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 7 ++ .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h | 8 ++ .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 7 ++ 9 files changed, 182 insertions(+), 37 deletions(-) -- 2.7.4