Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1403982ybz; Fri, 17 Apr 2020 23:49:40 -0700 (PDT) X-Google-Smtp-Source: APiQypICl8r5mKQAwb9QVbCRpA1lLY25ieWQPAPvyjccFPllCmTgyMa63SRF1M71ZhbXytjFUS3U X-Received: by 2002:a17:906:3048:: with SMTP id d8mr6582133ejd.97.1587192580079; Fri, 17 Apr 2020 23:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587192580; cv=none; d=google.com; s=arc-20160816; b=wO6cAnrXSJaofIoXiOfBPvVh417tcpIZzLHaer23aXQNVOK1Ve7f/zjq7JgaHp49Q6 PNUcEhx3yLBpBp/tZurQdCVUKJQxkOC5au6JBuQ83AMt0QpLYN4Pmc8vY0HMnc8aL2Uf 79WpzSn8EUVbNwwBMmIgmIJ4d3zLMC2205X9SQJ1Fp/Z01X5EBZQK26VXllPwrS6REAL 4N8zQEyJa8iHBVN2PKOIUPhlPIcpTrvw3kxpCR9NfvC5YxstywjBo2/KqjN1eBAkC+Rt xxuxYcNa/cnxP8KnNqNhO5DZqOsv7TRy+PTWcM9p8hrAyZ8w7xgbM4ff3JYgXFiNl/Ep ombw== 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=THWp5LxMdu3WXKymv86DVYmhHJ+8rddvlw/U3jO01DM=; b=JOufQ/86o3e/Nrimq9E/QVXgky8DBoL9Im+2WCeDgdb6A8KJ1sogRl3dqXTi5/kRfC v+9k7HnxvAbD/1dwltxL3PEVEaYTMSlu9aevjv4B9h4Jv9EXqKsJ229HUA6av26I0njE 7w//DAOb65C7bvCXoBhBOREt9SaPAi5bvu/QJTl/ATU2WMWdyncZUqI9BjjZEommnUE0 f/7jzmHpdF5ESv09bM8XPWZVvkv+zBFZqXg0KNyIppO4S8R4+3fuVRh047g/ciwsUOI2 suclqU8KVu1tG0SVUn8rISYW7nqJPAz/Bps3LVXKaV+AoXV+AVfvMr+Rzu3lzFKfgfiD sUbA== 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 dn21si18067898ejc.379.2020.04.17.23.49.17; Fri, 17 Apr 2020 23:49:40 -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 S1725949AbgDRGsT (ORCPT + 99 others); Sat, 18 Apr 2020 02:48:19 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:54006 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725884AbgDRGsT (ORCPT ); Sat, 18 Apr 2020 02:48:19 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id DADEB307FE52D36765B5; Sat, 18 Apr 2020 14:48:14 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Sat, 18 Apr 2020 14:48:08 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH net-next 00/10] net: hns3: misc updates for -next Date: Sat, 18 Apr 2020 14:46:59 +0800 Message-ID: <1587192429-11463-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. 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 of 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 | 645 ++++++++++++--------- .../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, 670 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