Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp542470pxh; Wed, 10 Nov 2021 05:49:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJys1aK4Xz0mj9uvOKDtQrD58J+h0UO3Mofudlbms9v2YkOQf6UsJtEbkQ4uxPVsh8kG3eEb X-Received: by 2002:a50:f157:: with SMTP id z23mr20869186edl.94.1636552180088; Wed, 10 Nov 2021 05:49:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636552180; cv=none; d=google.com; s=arc-20160816; b=MqKI0tIInWGT02Ns2oF967FDxVPj9xjFeNJV3qsUiFeYtGPojJhj7JPbL5EZ3eraNd PLpSGUyat5cFRk4h4i1kR4YEYO25sTVo2nt1Sf2X/iniidcqPo2F+gEansb3jvbiRqhA opdzKWoRqNmN1ABMZuBK/GQhc+g5LSkvEQhpSP/mj2cAeyZk68gm1e/slSva9xq5anhR yWCzm069rwiKrOS+PDqnBIBziRW8z/8A4k7O2npCq9vPgpCy2IsHlsdXZYzj//GCO0Du Wdt6Ue120U+BmHQh+GNsRDXPLuLFd1wEubVMSdGFYscgI6osZ1A2TIXfiJegbk4NkUPv GMPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=2lpeNc6+ubIjo+ujFgC9xmD+XrjGuNiQ6TUw8IxSsZs=; b=z44Qr0PTx5N361u2m6W2j5EAAAixwL4bOgedyN6Mu1LOUUwDsUEu2aI7tjx4f3YAMX kCG2V47HuhMzXUTidqlQs7DO0jhlWd0bzOlXe6MTSOnCimcdzDTZhO7CeTgECfclv47W gXmI0l/uoEfOG2W4nZkbuVfjHV+64P7r80qECjqrmYZASPZy7NMWg1m6DdH/xSA6peP0 fpNFAJ0lxFf7YDOHhio9Vs7LBSGoM/ICuBY0C+U/5xDwU43IrpU9vNk/lZxTCSpboT+q o/iKONAcgfKwC42heD3B4twFYe166dQzOV+VrGPtrWWwLQNsyYIXzCNi+n6uQGrFnYwr WwYQ== 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 jz26si11350540ejc.693.2021.11.10.05.49.14; Wed, 10 Nov 2021 05:49:40 -0800 (PST) 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 S232064AbhKJNuQ (ORCPT + 99 others); Wed, 10 Nov 2021 08:50:16 -0500 Received: from szxga01-in.huawei.com ([45.249.212.187]:14735 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232038AbhKJNuP (ORCPT ); Wed, 10 Nov 2021 08:50:15 -0500 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Hq5h60N2QzZcyw; Wed, 10 Nov 2021 21:45:10 +0800 (CST) Received: from kwepemm600016.china.huawei.com (7.193.23.20) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Wed, 10 Nov 2021 21:47:24 +0800 Received: from localhost.localdomain (10.67.165.24) by kwepemm600016.china.huawei.com (7.193.23.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Wed, 10 Nov 2021 21:47:23 +0800 From: Guangbin Huang To: , , CC: , , , , Subject: [PATCH net 0/8] net: hns3: add some fixes for -net Date: Wed, 10 Nov 2021 21:42:48 +0800 Message-ID: <20211110134256.25025-1-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemm600016.china.huawei.com (7.193.23.20) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds some fixes for the HNS3 ethernet driver. Guangbin Huang (4): net: hns3: fix failed to add reuse multicast mac addr to hardware when mc mac table is full net: hns3: fix some mac statistics is always 0 in device version V2 net: hns3: remove check VF uc mac exist when set by PF net: hns3: allow configure ETS bandwidth of all TCs Jie Wang (2): net: hns3: fix ROCE base interrupt vector initialization bug net: hns3: fix pfc packet number incorrect after querying pfc parameters Yufeng Mo (2): net: hns3: sync rx ring head in echo common pull net: hns3: fix kernel crash when unload VF while it is being reset .../net/ethernet/hisilicon/hns3/hns3_enet.c | 7 ++ .../hisilicon/hns3/hns3pf/hclge_cmd.c | 1 + .../hisilicon/hns3/hns3pf/hclge_cmd.h | 1 + .../hisilicon/hns3/hns3pf/hclge_dcb.c | 20 ++-- .../hisilicon/hns3/hns3pf/hclge_main.c | 106 +++++++----------- .../hisilicon/hns3/hns3pf/hclge_main.h | 8 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 77 ++++++------- .../ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 4 +- .../hisilicon/hns3/hns3vf/hclgevf_cmd.c | 32 ++++++ .../hisilicon/hns3/hns3vf/hclgevf_cmd.h | 9 ++ .../hisilicon/hns3/hns3vf/hclgevf_main.c | 10 +- .../hisilicon/hns3/hns3vf/hclgevf_main.h | 4 +- 12 files changed, 147 insertions(+), 132 deletions(-) -- 2.33.0