From patchwork Thu Dec 3 12:18:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huazhong Tan X-Patchwork-Id: 337549 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 099D4C71156 for ; Thu, 3 Dec 2020 12:19:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A40AC22244 for ; Thu, 3 Dec 2020 12:19:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730356AbgLCMTh (ORCPT ); Thu, 3 Dec 2020 07:19:37 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:9366 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725960AbgLCMTg (ORCPT ); Thu, 3 Dec 2020 07:19:36 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4Cmvxs47jlz77y8; Thu, 3 Dec 2020 20:18:25 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Thu, 3 Dec 2020 20:18:46 +0800 From: Huazhong Tan To: CC: , , , , , , , Huazhong Tan Subject: [PATCH net-next 0/3] net: hns3: updates for -next Date: Thu, 3 Dec 2020 20:18:53 +0800 Message-ID: <1606997936-22166-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: netdev@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. 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 | 12 ++- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 87 ++++++++++++++++ .../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, 225 insertions(+), 66 deletions(-)