Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1502482pxu; Sat, 5 Dec 2020 20:15:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwF/iX09e0wbrtGZEZePr3OzMHs0GgsLti+Q+xFNvFbnR1HMkdiPSH4VB2jkRoEdBUww4Dd X-Received: by 2002:a17:906:22c7:: with SMTP id q7mr13736236eja.486.1607228111204; Sat, 05 Dec 2020 20:15:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607228111; cv=none; d=google.com; s=arc-20160816; b=UfEfhdl5FQR6jGX4Bar6DK26Y5SANUrUtPTAPrR7evecIQstg+7HD7j18N+g1C+j7F HKns2KpSZ6+QXbsQ0q91x/0xNHzbadjNtsPQgrNfQp+Lix1xUlrtUUg7g/KijM5iopIc oiNzEqIzaOjrJWsViz/jdYtL8jTR90fOynS5vlpZ/aHeyo4lO/nJEXXfsXgek/xiw5Tf Vs/U29bFCdP2ROuTOLsA1EEihf27Qwtjq2Lk5Re04tQfmc8tY4akN60A5iCQRlAv0cdB UmAdqXUXInvzReUZ39M+OPwlM0gw1MwDpqW9DzL95FlJWvjBQVS6IPaQRvRwstUpSWRO rq2w== 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=z3VL6tLC8TZulTH6W6Cx894VKOGp5MsD39QW7aojE8I=; b=er8/ruq8ZjF2IDjrLhTVxL/9x+GBqcpNiIGDnqIqgQoCRH0mBnfQoWfl/qsEy7Qvmy tGMajSYrWisoMMdUKmQg6ztYeMEYkIOb3xizBmKYJOd3HE3Ap8rAcBcWtd/RM1yaLu4M 7Bocs8brBMA/c5RcJNm34f0JRL2gWtx+t6lah4KwBxP9tWXnYfzddmoTfvGTWTeB73kf 2TTmPqvBfk8rSjmvdYZ8ckj944H0pWOEkPi3G0FHFWjYTk+EmtncIHLtIngNxWAQAlpd 8LoGLLlBp7IlsBHrspiE3BxGkBVoFcnsgaLccGnTe7KqwZzZBlnLGd8y6uBQSrxUFMat JxYA== 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 y26si5827189edo.273.2020.12.05.20.14.08; Sat, 05 Dec 2020 20:15:11 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726351AbgLFEHu (ORCPT + 99 others); Sat, 5 Dec 2020 23:07:50 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:8949 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbgLFEHs (ORCPT ); Sat, 5 Dec 2020 23:07:48 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4CpXt53Y24zhm7Z; Sun, 6 Dec 2020 12:05:49 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Sun, 6 Dec 2020 12:06:04 +0800 From: Huazhong Tan To: CC: , , , , , , , , "Huazhong Tan" Subject: [PATCH V2 net-next 0/3] net: hns3: updates for -next Date: Sun, 6 Dec 2020 12:06:12 +0800 Message-ID: <1607227575-56689-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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are some updates for the HNS3 ethernet driver. #1 supports an extended promiscuous command which makes promiscuous configuration more flexible, #2 adds ethtool private flags to control whether enable tx unicast promisc. #3 refine the vlan tag handling for port based vlan. change log: V2: modifies #2 suggested by Jakub Kicinski. fixes some spelling mistake in #3. previous version: https://patchwork.kernel.org/project/netdevbpf/cover/1606997936-22166-1-git-send-email-tanhuazhong@huawei.com/ Guojia Liao (2): net: hns3: add support for extended promiscuous command net: hns3: refine the VLAN tag handle for port based VLAN Jian Shen (1): net: hns3: add priv flags support to switch limit promisc mode drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h | 1 + drivers/net/ethernet/hisilicon/hns3/hnae3.h | 8 ++ drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 11 +- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 86 ++++++++++++++++ .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 34 ++++--- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 111 +++++++++++++-------- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 13 ++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 18 +++- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 7 ++ 9 files changed, 223 insertions(+), 66 deletions(-) -- 2.7.4