Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1961489pxb; Sat, 28 Aug 2021 00:00:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyP0Kp4FfarBOh9CLwxlk6xWCWZy2dru3wxFGkIYZdt60T0JlIQ0Qt7zz6QNrT6tqtGkTbd X-Received: by 2002:a5d:8d06:: with SMTP id p6mr10732644ioj.7.1630134021198; Sat, 28 Aug 2021 00:00:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630134021; cv=none; d=google.com; s=arc-20160816; b=RuBaIhnKhg56Aam0PM1tlPj1vg6MhvtmiMKmMYr7+oG4XQPApBlI1Vb12rYlB+eEct g5XV39Hkgyyq6vZA0bdI8XD+cI92B1OQx0a9fEpVVBNwjFhoLGZ7r7Y7YQEQcdj7Fg2o k7jxfR5J4k1jcA6/3WJHiUx3NTp+AtoZ7r0J4dkC9vObuPSc4sMMQKFdciDfeHC/siMN HH9Hw2yzBW0W5PPomWLMLtEdCRnwU6Fe9JdhVWuIw/V51tei6x1prBXJMUhcmcW2tCIU gVvjrSYcjD4qSHH246mDxkCjqcKefiFEMNfcMDIbmmRGI+1GU1VCj/LazpokWV40P65+ s8FA== 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=nldwbXK7KA297R/3UgtEtEfPMSItN6tCwvYDC/+WqNI=; b=UpHONzpNIaTAzzO/xdqbAmX4DSeB6uL80VIf91hrzzYrviHfSfMqSEHV126+lpdAqB uVESgbnD2cTLivtemrQz1Hznl5oSOsmnYa94cNwRlYj7LowgmrAG99Y4HHEyoppYoDvT Q2Y/yKq9e5gVmGr7SV21qMcaAjLLFQQ/gtRnK3gwaI+mBL15/B+FntddBrdvEJlZkbjt sh6244rXuzGQKkWwf5oQ8T4XSZsCuEhSCemSlSaTfAKb8RpWgype+/1Ags/eus8wghCW kySZ0vxI7jYo8/iQHkaZeW5Rx4t/zhb0moHJf+f7pBmB845qs88YWZEzZEEW6jTvs3GV A2Xw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u11si10440245jau.60.2021.08.28.00.00.09; Sat, 28 Aug 2021 00:00:21 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233385AbhH1HAO (ORCPT + 99 others); Sat, 28 Aug 2021 03:00:14 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:8794 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233088AbhH1HAG (ORCPT ); Sat, 28 Aug 2021 03:00:06 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4GxS982xTGzYvJS; Sat, 28 Aug 2021 14:58:36 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Sat, 28 Aug 2021 14:59:13 +0800 Received: from localhost.localdomain (10.67.165.24) by dggemi759-chm.china.huawei.com (10.1.198.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Sat, 28 Aug 2021 14:59:13 +0800 From: Guangbin Huang To: , CC: , , , Subject: [PATCH net-next 0/7] net: hns3: updates for -next Date: Sat, 28 Aug 2021 14:55:14 +0800 Message-ID: <1630133721-9260-1-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggemi759-chm.china.huawei.com (10.1.198.145) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series includes some updates for the HNS3 ethernet driver. #1 add a trace in hclge_gen_resp_to_vf(). #2~#4 refactor some functions. #5~#7 add some cleanups. This series includes some optimizations, cleanups and one Guangbin Huang (4): net: hns3: refactor function hclge_parse_capability() net: hns3: refactor function hclgevf_parse_capability() net: hns3: add new function hclge_get_speed_bit() net: hns3: don't config TM DWRR twice when set ETS Hao Chen (2): net: hns3: remove unnecessary "static" of local variables in function net: hns3: add required space in comment Yufeng Mo (1): net: hns3: add trace event in hclge_gen_resp_to_vf() drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 2 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 51 ++++++++---------- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 8 ++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 4 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 63 +++++++++++----------- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 5 ++ .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 2 + .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c | 29 +++++----- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h | 6 +++ 11 files changed, 92 insertions(+), 82 deletions(-) -- 2.8.1