Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3159507ybz; Sun, 19 Apr 2020 19:21:27 -0700 (PDT) X-Google-Smtp-Source: APiQypKGnyky+ERPXW0tZOwWdL7fUSad9cCiHPB/FusySC/vRvfmbkpHeZrIlBsVODJEJEmJQvSR X-Received: by 2002:a17:906:158c:: with SMTP id k12mr14016241ejd.7.1587349287340; Sun, 19 Apr 2020 19:21:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587349287; cv=none; d=google.com; s=arc-20160816; b=D/klovRoUEsNDeYdLLtLZ7BxX34m8HMKcam+iVg/Q5YD5Nba4KxGQb0ykGl5mZydPS nEBnOgutLyhFun4SW792wPcuWwL3kWKJz27d1BNuHvrIS26q1SBNq4Hhg2iYPmuElhYs FwyIQd6NWvsjTL3P9YprRMgWexI2kIxuTgxGtzzEdtfEU/IP3BfOrWgBQaEc3H9C+lXZ U0SS2BZPQyiKz7jBGmcuFQwwiQWr5TKeP27IZtPYpCJraMPq5GipsrhbqarU3iIjarqY PuAqNvtgK1RjENlcxD17vjLr1y8AEEjUlUvZxMP5ayKt9iuHwx0P/DLrMl43wIqtbn05 OkCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=OTKClkag5K5IQbqzeBNEdDQ1YW8R/fyzKjNpobk3G/k=; b=pRhetzMw8puyEc3AFgxBRQ68Hk7oum3pWHOTecnHqnPPzC/55pRuji4Aksev/4y58f F3gXzy6IHA+hNYS0VnREKGMC5AHTXKBtGc7T0C5U6UkPvann2BHHG1uFesuSDykkZUwq kA368XLqWIuOqm2enbHbF2FfWIpk89s3MDZRktZZUQxCREaea8h9AkM7Q/5/EY+0wquP 5Uesi92N0Oe3MuryoYnZbu5jlDGiramYCf4MdngvpM+FkeFWxZ4FlZwILocgU1GywCJy DKNISObURYw9jc4a8XF7iNQhov2Xjom5lqj4Rf84I3Lmbd3BGS+895tmZNZzGFzbH5B4 hGmw== 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 x6si17486977edq.424.2020.04.19.19.21.05; Sun, 19 Apr 2020 19:21:27 -0700 (PDT) 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 S1726262AbgDTCSo (ORCPT + 99 others); Sun, 19 Apr 2020 22:18:44 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:54782 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726049AbgDTCSn (ORCPT ); Sun, 19 Apr 2020 22:18:43 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 2201D5DD84E3FAA0EAFB; Mon, 20 Apr 2020 10:18:40 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.487.0; Mon, 20 Apr 2020 10:18:33 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH V2 net-next 00/10] net: hns3: misc updates for -next Date: Mon, 20 Apr 2020 10:17:25 +0800 Message-ID: <1587349055-4403-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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset includes some misc updates for the HNS3 ethernet driver. [patch 1&2] separates two bloated function. [patch 3-5] removes some redundant code. [patch 6-7] cleans up some coding style issues. [patch 8-10] adds some debugging information. Change log: V1->V2: removes an unnecessary initialization in [patch 1] which suggested by David Miller. modified some print format issue and commit log in [patch 8]. Guojia Liao (4): net: hns3: remove useless proto_support field in struct hclge_fd_cfg net: hns3: remove two unused structures in hclge_cmd.h net: hns3: modify some unsuitable type declaration net: hns3: add debug information for flow table when failed Huazhong Tan (2): net: hns3: remove an unnecessary case 0 in hclge_fd_convert_tuple() net: hns3: clean up some coding style issue Jian Shen (2): net: hns3: split out hclge_fd_check_ether_tuple() net: hns3: split out hclge_get_fd_rule_info() Yufeng Mo (2): net: hns3: add support for dumping MAC reg in debugfs net: hns3: add trace event support for PF/VF mailbox drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 2 +- .../net/ethernet/hisilicon/hns3/hns3pf/Makefile | 1 + .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 25 - .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 115 +++- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 650 ++++++++++++--------- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 1 - .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 7 + .../ethernet/hisilicon/hns3/hns3pf/hclge_trace.h | 87 +++ .../net/ethernet/hisilicon/hns3/hns3vf/Makefile | 1 + .../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 7 + .../ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h | 87 +++ 11 files changed, 675 insertions(+), 308 deletions(-) create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h -- 2.7.4