Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp400021ybm; Thu, 28 May 2020 05:50:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyw4NQQeLImc2/yrvE/66lpAqXB1OYK1/fNgFQucixR1zZ5j/Gw4EKcBH0DNJ/t3xh6rSPI X-Received: by 2002:a17:907:2636:: with SMTP id aq22mr2758987ejc.384.1590670226837; Thu, 28 May 2020 05:50:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590670226; cv=none; d=google.com; s=arc-20160816; b=qUp644Z4wd7RphqMAPND5N0AJR1dJnEc18yjLHWRfREanvw2y/H+p5Dm8WPtfjSHLl 1eVUfrinWPWRfAv7ugP7LDgqzGF5QSoq5J0G8BXkA6SWCfb/lWTn3QE677VJvSk71WmO W3c9hinDiuaPuytLK1kgkSysVFYE21YXb75hP33hewljVipVNMflUqa3myy4yRPLCOXX PlE0f3TUV9dTYkvWl8qwUVh+w+klMsQMRTpVb7tZO/rXL/FAqknm0YVuEgaCyb2UnyLR keHpgZJCYYTGv5uRNShEIyNs45GUzcmY9u+KAuntEMv6a9WNoStpzJFevjq/5VYno9t6 v0GA== 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=jcA+Ptob+BISA2GsYZ6tmHX+OJ8jS8dLQvfs0swUlsI=; b=HhQLz7ILs2MyKMGkYLpjNxfNIyo93SDSlbAnPwE6ptu9XuVmbrsSdIh3XB03d4hrwy nnF7SfU3yphBWLKiTbYCVUXlH7ZfCKlA1BfBapXZSmwVb2Z3dWxkf9Q5HMFwBMrtlXxL HUOXyH96jASpuk5W4nWzxVr5i+uy6J02mXC5uC/rlPvRP4+fLPP2bnypNmVJ8RbmVqRy Yq9k4MXV9ikSJB8D9QZugp85OkKUSLw3wNsoZpW+qoIaW5CGJ6rugqwIDT0yWJgxi2ce oSwQZSRNGUk9xM74fidlF44LVwt03xv7d43/vt/0A07FreaE72sidO6ENdpRm8AyTr+k 0q4g== 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 h15si3826649eja.51.2020.05.28.05.50.03; Thu, 28 May 2020 05:50:26 -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 S2389941AbgE1MrU (ORCPT + 99 others); Thu, 28 May 2020 08:47:20 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:38226 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389905AbgE1MrE (ORCPT ); Thu, 28 May 2020 08:47:04 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 5C8C9CDAD0C1E9B87D56; Thu, 28 May 2020 20:46:43 +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; Thu, 28 May 2020 20:46:33 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH net-next 00/11] net: hns3: misc updates for -next Date: Thu, 28 May 2020 20:45:01 +0800 Message-ID: <1590669912-21867-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 updates for the HNS3 ethernet driver. #1 adds a missing mutex destroy. #2&3 refactor two function, make them more readable and maintainable. #4&5 fix unsuitable type of gro enable field both for PF & VF. #6-#10 removes some unused fields, macro and redundant definitions. #11 adds more debug info for parsing speed fails. Huazhong Tan (11): net: hns3: add a missing mutex destroy in hclge_init_ad_dev() net: hns3: refactor hclge_config_tso() net: hns3: refactor hclge_query_bd_num_cmd_send() net: hns3: modify an incorrect type in struct hclge_cfg_gro_status_cmd net: hns3: modify an incorrect type in struct hclgevf_cfg_gro_status_cmd net: hns3: remove some unused fields in struct hns3_nic_priv net: hns3; remove unused HNAE3_RESTORE_CLIENT in enum hnae3_reset_notify_type net: hns3: remove unused struct hnae3_unic_private_info net: hns3: remove two duplicated register macros in hclgevf_main.h net: hns3: remove some unused fields in struct hclge_dev net: hns3: print out speed info when parsing speed fails drivers/net/ethernet/hisilicon/hns3/hnae3.h | 12 ------ drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 22 ----------- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 4 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 44 ++++++++++------------ .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 6 --- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h | 4 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 8 ++-- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 4 +- 8 files changed, 29 insertions(+), 75 deletions(-) -- 2.7.4