From patchwork Fri Oct 22 09:19:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "humin (Q)" X-Patchwork-Id: 102644 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 874DEA0C43; Fri, 22 Oct 2021 11:22:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49268411B1; Fri, 22 Oct 2021 11:22:08 +0200 (CEST) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id 5FD2141189 for ; Fri, 22 Oct 2021 11:21:59 +0200 (CEST) Received: from dggeme756-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4HbJds3hQrzbnKP; Fri, 22 Oct 2021 17:17:21 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by dggeme756-chm.china.huawei.com (10.3.19.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.15; Fri, 22 Oct 2021 17:21:56 +0800 From: "Min Hu (Connor)" To: CC: , Date: Fri, 22 Oct 2021 17:19:51 +0800 Message-ID: <20211022092006.60959-1-humin29@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggeme756-chm.china.huawei.com (10.3.19.102) X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH 00/14] refactor MAC handling for hns3 PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset refactor MAC handling for hns3 PMD, including unicast, multicast and operation for MAC address. Huisong Li (14): net/hns3: rename adding multicast address function in PF net/hns3: rename adding unicast address function in PF net/hns3: rename removing multicast address function in PF net/hns3: extract a common interface to check duplicates net/hns3: remove redundant adding multicast MAC interface net/hns3: rename removing unicast address function in PF net/hns3: remove redundant multicast operation interface net/hns3: add hns3 HW ops structure to operate hardware net/hns3: use APIs in hns3 HW ops to config MAC features net/hns3: uniform to config all MAC and MC address net/hns3: uniform adding and removing MAC address API net/hns3: uniform common function to check multicast net/hns3: refactor hns3 set MC MAC addr list API for PF net/hns3: replace set MC MAC addr list API in VF drivers/net/hns3/hns3_ethdev.c | 271 +++++++++------------------ drivers/net/hns3/hns3_ethdev.h | 21 +++ drivers/net/hns3/hns3_ethdev_vf.c | 296 ++---------------------------- 3 files changed, 127 insertions(+), 461 deletions(-)