Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp444582ybm; Thu, 28 May 2020 06:53:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5ACF6RsxXnJfQ8SrHsjtscdWJUf97u9f/Jcbol0JBXRjN3+EzukEUM/0qqANNb6bnACr/ X-Received: by 2002:a17:906:7c5a:: with SMTP id g26mr2508100ejp.200.1590674005808; Thu, 28 May 2020 06:53:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590674005; cv=none; d=google.com; s=arc-20160816; b=ijYDEdfPmtnVolCt8SWFsr+EAEnIh4yl+s8jp2PZcYHYBPerkR8LAW8QQaV95SnYFN MQeO4BsCjyvcGWMkLjrYMcQobYBQo+dotuAYiSg0+23j7rvfszoIxRWkivPzJNPaAQXW HDQZ8D85uoiCjP7c2DMT9W8tqBazu3KxkqDFi60j0+jHLnj7ZDwxUxBsA3q0/sahThtq Ae14FH8Ietqdl5JtnFq2RLpEjsd0ZqkiQMnf04Idiy9+Ji1/5apkcWnzujTUfTaZi0NX VkMPhDaBt08lKj0vMvg3hOyaEHtTAx1vQvs2wWR+tZ5GPletYm+iTwYKl8ncG71xV8cP Didw== 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=r/MVEzYNyK4OsJGG2kgq5AST3FRutf4PgK7fLPz21Ls=; b=I8VChDqWLR8j0YQI8Oj69RKhwmCsK4ySLzPfAS5uVYPNztb3XbauY4iNnBWk0OZcJ4 rBOK3f95UBhTMJiELg4gGmebVLyQUpDU3Wfo5C2UaWiqQAJ75IO+8l/LW8Z3SslPY8pX Q7bcd4N3tbWqIzWoiK3gk8h+58Wu2JzKxCzBuTp+6eLvOqQR4rnT0yt27sfJf4erZjOl IhgbI/6ihgHadi+VS4Ju9ANrp+gmgEIOfto8fZCS/sXonbn905I6TkLKfey/F+l1ysUB /Gw+XqY0viqMrLHyOfU8jpo3tPJJ7DMnDPPiGvIxmaAcOec911EPkecQPgFfBPaoJ7Vr vnQA== 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 op26si3469094ejb.568.2020.05.28.06.53.02; Thu, 28 May 2020 06:53:25 -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 S2390634AbgE1NvK (ORCPT + 99 others); Thu, 28 May 2020 09:51:10 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:5304 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2390498AbgE1NvB (ORCPT ); Thu, 28 May 2020 09:51:01 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 22EF75EBCD9D41EEF2B8; Thu, 28 May 2020 21:50:54 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.487.0; Thu, 28 May 2020 21:50:48 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH net-next 00/12] net: hns3: misc updates for -next Date: Thu, 28 May 2020 21:48:07 +0800 Message-ID: <1590673699-63819-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 removes an unnecessary 'goto'. #2 adds a missing mutex destroy. #3&4 refactor two function, make them more readable and maintainable. #5&6 fix unsuitable type of gro enable field both for PF & VF. #7-#11 removes some unused fields, macro and redundant definitions. #12 adds more debug info for parsing speed fails. Huazhong Tan (12): net: hns3: remove an unnecessary 'goto' in hclge_init_ae_dev() 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 | 50 ++++++++++------------ .../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, 31 insertions(+), 79 deletions(-) -- 2.7.4