From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 77F34A0548; Mon, 1 Nov 2021 19:38:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEE5A40E28; Mon, 1 Nov 2021 19:38:50 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 066AE40DF6 for ; Mon, 1 Nov 2021 19:38:49 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10155"; a="229796974" X-IronPort-AV: E=Sophos;i="5.87,200,1631602800"; d="scan'208";a="229796974" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2021 10:45:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,200,1631602800"; d="scan'208";a="531254699" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga001.jf.intel.com with ESMTP; 01 Nov 2021 10:45:26 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 1 Nov 2021 10:45:26 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 1 Nov 2021 10:45:25 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 1 Nov 2021 10:45:25 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 1 Nov 2021 10:45:25 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ECbSgs6vQrnpeWgxXBYDVQ4EcSgG9TXg+ZUcLBkcrKev48nG5nb5rc4Ryqd9uJgfBu/zEQuQSIe59zs5SgRmaIYZHkbKM48fJv+qqTTc5ahssifZMz5Suezr2U36P2pui0tbknlJ2eyjR5Mf+btRar2Enej8fcE9/PLm3KXFpADR13srxSrm8axH20s+kFeMKN0GeuOusvbdq/RZiycZ2ub2gGbQBxpudSUW1WXZjkwNwXoJtYrXXi2OuAeeEUZ2ffAMPj/3xAz4zF2wue8WRXo9FXmlHTbgn06XIeERlYP3t+X/0TCLYei9x8PHz2qsyldZmfUFb3Nj9Fil3ozaUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NAvO4XNFuCwLVnqSSLEwwdhUXIFg3PoirB4Ncc2ghsA=; b=QZV3IxrAV+rshOmlJKlVmCOQzQ7SM2dKn1p25/hdxtQlN8J4ce4G3GXaumuzpyK6PKQBRIpDhCNHCbQai+aTwMcSImd8tgtuOMu/ZI2Y1KDMGwl/TBIp7h1+Igno6jqK/WXFVU5ssb9GAzveU5lrtgWcdky0i3dcosLHfvhdKxa+mdz2CEi3N+CJhGP9Oi7tu1xWTjoV/HtVg+eFJPXsUhnfrhoAvrE25fYe+311IBJO8HO70vlLJUe1CzwSa7T8Dmbt890VZdAxHul8PQ7WTOplQ9+t7YtwvcmigGOQAzjyyq54innZiX9T4PYHw/jsqXXYa9LAi2M7jJ2C7EToPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NAvO4XNFuCwLVnqSSLEwwdhUXIFg3PoirB4Ncc2ghsA=; b=XCyobAtIJnfUzqxhvG3R61g2BMLJLS709riD3x2Y0LYKlOOiXoX4Gagb2AXHfA/U3vBugxQcp11oG+Fi52LXY/vlh/YbOzB0166L1bv9tDCpNtKL6AP0LBF+nNY4ExtQnWJV6Bm2v7LTlI2jcEFHZd+mW20YgFW8pMh5yPIOLqc= Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5925.namprd11.prod.outlook.com (2603:10b6:510:143::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Mon, 1 Nov 2021 17:45:24 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%5]) with mapi id 15.20.4649.019; Mon, 1 Nov 2021 17:45:24 +0000 Message-ID: Date: Mon, 1 Nov 2021 17:45:19 +0000 Content-Language: en-US To: "Min Hu (Connor)" , CC: References: <20211022092006.60959-1-humin29@huawei.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211022092006.60959-1-humin29@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB7PR02CA0035.eurprd02.prod.outlook.com (2603:10a6:10:52::48) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB7PR02CA0035.eurprd02.prod.outlook.com (2603:10a6:10:52::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.17 via Frontend Transport; Mon, 1 Nov 2021 17:45:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f871323c-1812-4910-0ddc-08d99d5f620e X-MS-TrafficTypeDiagnostic: PH0PR11MB5925: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:983; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lNY/tMc1CBXtUg5iNKlHs+xKjHnLfSTSbtEc06BKoCwzsfVxPvENsjHDBX8c9ctM+HpdFSaa8hCzsCaPpecwX0kdq1oNy/1e72RO3yqVfU2SrcpS+MlbccI+fldZnKdKw5adTDqrkTuh1AoDrR3yswIbjyCuJ20sb36C/Ue7A1MEotxX1XIj+ZdE0kbAw/ZYC5OfhbecRchFWK6GSI+0/XgoA5XYjSn7+xlALqsB+pMlkQZVuWmcaPVTJ9MK+AgVatRXZJeq6LV8mdlAkxjQ3D+L3lbzd2XKY/uCVgMnTiVHGzVBRzddsz2/EtvjYWirl7N4cv1fENI57R9ak0Cvb5Ul6P/zXoh0G7feTXA6ya5YQ2NKQ9osc2HNA21CKT5y598hvf1/dEUvvBznwtPS4+gomCUZOXLLnIP6z5dUUN0+rHJkYStU3XO9e0Cmg14/adjJhdczkI0eAKCc8LBKisy0aRq3EXFjVNaFgXmL+xoJtvaL8o4s12pr2C03RrQR565Zrx9lgpkN7ck8X9ag6HZTUwPXrr3H6SPGC22WFHlF4ACYL602dohInHmEkceXECx5mD2YpP8rZJ3KI3PC1fXVL8vGaSGAzR/tIfbeex4/k8zD9Ky2XDzxn/x3rvMCAvmD8hVe4dNxuhQBz1hGfbyYvqHB8+jwPK4rRvc2VBAOdrPKV2CAidtyHem2/yEZwRhZXPEYj/HGPCLUmKAsnA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(31686004)(26005)(66556008)(5660300002)(2906002)(956004)(66476007)(16576012)(8936002)(66946007)(8676002)(316002)(36756003)(508600001)(186003)(2616005)(86362001)(6486002)(53546011)(4326008)(82960400001)(6666004)(44832011)(31696002)(38100700002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bCtoajlSazZjc3VwaWI1YnN2MVFCR3p2RkgyazBZTnZEN2ZGcHFwQzQ1N2tD?= =?utf-8?B?VUNxSEt6REE2N1I3UlNmYnlDSnoydXN1cUx1M01EbXl5QURVYnJHeXFVRzc3?= =?utf-8?B?RVZkbjRxTGNWY1Z5TlNaNW9oRU1MNnR6VTY2R0RuYWJMVldtR25raVdvRTh0?= =?utf-8?B?Tkh4b3RGWUhOY3BydG5HZEhETjFlamlHQnBCUEhsdjhJdGxzbkhjMGpWWDFC?= =?utf-8?B?RkhsL0dMRHNieHNIKzhkR0VWMEcvRDdvMzJXTDRQcXpoYmczc2tEODc5SDBC?= =?utf-8?B?WnlCNlg3VkRZZWJ6M0tMa01wd214OUpPSmpSQjVVZjRpaDAySVBQeVNWUi9U?= =?utf-8?B?ZjhGU1JtQmdFbkxEeUJRLzBlYXpNbDZGa2ZRekhHLzRhU0ZnMUsxN1ViZC8r?= =?utf-8?B?NnUrMDFuUmpNWEFMVWVEWXBadENhaTYwTU1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d5f620e X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2021 17:45:24.4587 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lJaDVvR5K9dM2+qMOQWvS06e6yvj2vC6SqTb6iRD+gGq363QezsdBQ4G59+rJTDq4qjXfTze/EGJvLrfgqbfGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5925 X-OriginatorOrg: intel.com Subject: Re: [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" On 10/22/2021 10:19 AM, Min Hu (Connor) wrote: > 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 > Series applied to dpdk-next-net/main, thanks.