Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1341886ybk; Thu, 21 May 2020 04:41:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmHnpnbB8RjA0KrQHj7oZqzTXs6MVQ7DMC6jFzKZErswRYcyLfhDZ4e2GMoOkx0d+HIslH X-Received: by 2002:a17:906:c950:: with SMTP id fw16mr2874102ejb.65.1590061297163; Thu, 21 May 2020 04:41:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590061297; cv=none; d=google.com; s=arc-20160816; b=vK1hMTwrER90845/JohKlc//7WBLQR2W0qAROpWJznpPJd2hZckKlE6Vir+JviJoJ4 /WQ2QgkVSFXup+4mZi3IPnNlkyoNCao9UpiOvPK0Bsa5qUK2T+rYoyGyOQH1v09lX2W1 J8j3BZzbGuhYO+DOi9kXhFlzt1nehHvvq/y/ABtRuYek84wQCBgAZJPXlIiWqLuZZU30 mu0bR2AY2WwQUzcxrvI6Q20V8MKiVuwWuSYdtiVNSbYtGWI+qxUKlQ57Xs9vxF5M2U4S B6ovOsZ8RqBCwBabKulXGUefe20HyTQPHFp2iH2YxqABkqmqBDt0SJUm8/VgGfAc/fuV E4Fw== 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=a3bfHkDfYGxXk5q5WNnLUq7v4l3smjIerSAdMDhqWAE=; b=OL3Z/1O2144F8+HUTEKLVfXkeMZ3kGvz+/PmZmPe/ioxjNGvEaSnixLnRM91r5Sovv +ltqrecf2LR/BZw6aaHJWMPUhfonsJ7vALVUTqHVJK945/aziztWNxa4i5NAAN5wq3DZ GobV0hSPOiUtJPPNW10gImB6m/E7mTW+2s9QkSDAIRkF0Ys34k3o0ThQrAD8tDy9HmU8 oZF4vhovjXgmzt43I603QN58lopGABig6JZxBrP7pOuOHQR18/sVJ9jyQIMwzpCWcxuw zFGaoCfms5rz2QzufpKh1y6L9kvWwsqaOZP7TCGkRmB25XtyjD1S25bkl/nU4G8cnof5 YnKA== 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 x15si3098092ejv.88.2020.05.21.04.41.14; Thu, 21 May 2020 04:41:37 -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 S1729050AbgEULjw (ORCPT + 99 others); Thu, 21 May 2020 07:39:52 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:38052 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728348AbgEULjw (ORCPT ); Thu, 21 May 2020 07:39:52 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id B028071144CF9A1710A5; Thu, 21 May 2020 19:39:49 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.487.0; Thu, 21 May 2020 19:39:43 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH V2 net-next 0/2] net: hns3: adds two VLAN feature Date: Thu, 21 May 2020 19:38:23 +0800 Message-ID: <1590061105-36478-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 adds two new VLAN feature. [patch 1] adds a new dynamic VLAN mode. [patch 2] adds support for 'QoS' field to PVID. Change log: V1->V2: modifies [patch 1]'s commit log, suggested by Jakub Kicinski. GuoJia Liao (2): net: hns3: adds support for dynamic VLAN mode net: hns3: add support for 'QoS' in port based VLAN configuration drivers/net/ethernet/hisilicon/hns3/hnae3.h | 5 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 3 + drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 6 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 2 + .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 151 ++++++++++++++++----- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 25 +++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 10 +- 7 files changed, 155 insertions(+), 47 deletions(-) -- 2.7.4