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 3EC3BA0C49; Wed, 16 Jun 2021 14:27:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 23FB94067A; Wed, 16 Jun 2021 14:27:14 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id B644C4067A for ; Wed, 16 Jun 2021 14:27:12 +0200 (CEST) IronPort-SDR: wM3+4cMOpozgD9D8Y+uOAyGyLEyESdkKT1oxU/S/mdduDEcWCWRDBysCz/iFriaVg6/NKeJv1a SC3erlYGptxQ== X-IronPort-AV: E=McAfee;i="6200,9189,10016"; a="206202883" X-IronPort-AV: E=Sophos;i="5.83,277,1616482800"; d="scan'208";a="206202883" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2021 05:27:11 -0700 IronPort-SDR: 3pdnxoytcRdUFNtCdC0rYUvYE+u8Ugs7eUpcOCyb+iKjHjaGfSj4saOUGHp4DB9n6tdC1ygr4F PVvRj1k8t52g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,277,1616482800"; d="scan'208";a="621669425" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga005.jf.intel.com with ESMTP; 16 Jun 2021 05:27:11 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Wed, 16 Jun 2021 05:27:11 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Wed, 16 Jun 2021 05:27:11 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Wed, 16 Jun 2021 05:27:11 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.172) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Wed, 16 Jun 2021 05:27:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d6VKuNEOohsqwL0cfCLUsX/nZit73Bcz5O8t0EYDX6uNidcoEZMUm0R0S4qmy1MKyK21uvyET3/AP5t2ZxZFcHpjVsnvzfwudK1bPfB9ur4sE+y3V0UByGBZwH+0KIS4ZqU1x0bPXSVvkKO60Kw8rHz46cIPzK1tRQ5GGUjbBdKOZqg4ddzXfCDKusvnUYyb5CUrs7lDZ1FxWBj3NDwQPutrSQk8yYTgObW5o4lLvKvQCCcG+DzU648XSjcK3UsuBAj2DB0jKv+wOy0h00MCAg+9RwZems7UkjRuRqWyN+gz9i6gccnsYRy5Sc88EpeyXAohi0JICmAToKZ5lunugQ== 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-SenderADCheck; bh=eFkBMtUqx71HXjf8Yne3VKBKYYl4Rjv9tQlp/YqD/V4=; b=MsV6AqWTxgk8GMnun7OKx2bkTDBI3gElRZcV22mJscPS6zmXaQlhxvigR5S26NaIwGiu0U72LfmvUIXQO7s6eNJUyTMYzmi8lQ1dQnALYLBzNyo0ZG1hFFR5lfGWwmROndjOzauWhY5AEHHmWm1mBYeJC8KmT0SSCcpJfK4gb4aagu6L81v3gYCiPjJEd2rlrZB5R8OAL83mQiN3D/dXHOIGg6ckHBrqi4jcqVXCG3fBcCxXllIvX9s0T7wE/gEwMvCRPeakerPPMavl1F7jg46zYSIRWA4XzypJHkB+rGW/WxcpoCiTudAREggDUehX1oRa8ShooTLk667tBBD5EA== 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=eFkBMtUqx71HXjf8Yne3VKBKYYl4Rjv9tQlp/YqD/V4=; b=VzX2cBV6o6hPj7p7B68PT0dsQ4z2ehAecNqDUXpiGFv87qY8MMMGzE240CxQGhcVCgFjSE5jwR721S+DULVHNJoNAlffKYjCKuyDcW5ZPWG+uJtPOZttsRA6HVIYgM9W68N0YGS+kMoNHVX/CxvXY+zYSmNRLwHBw/wBu3OnBJw= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3933.namprd11.prod.outlook.com (2603:10b6:208:13d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.23; Wed, 16 Jun 2021 12:27:09 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::d447:3a7a:aad7:4d32]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::d447:3a7a:aad7:4d32%7]) with mapi id 15.20.4219.026; Wed, 16 Jun 2021 12:27:09 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "amorenoz@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH 3/3] net/virtio: add MAC device config getter and setter Thread-Index: AQHXXHCxIMNYZmTiRUGU3W8oulfdoKsWkZdw Date: Wed, 16 Jun 2021 12:27:09 +0000 Message-ID: References: <20210608141405.52917-1-maxime.coquelin@redhat.com> <20210608141405.52917-4-maxime.coquelin@redhat.com> In-Reply-To: <20210608141405.52917-4-maxime.coquelin@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.52] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9818dfce-b233-41d0-218d-08d930c20fae x-ms-traffictypediagnostic: MN2PR11MB3933: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cEoFiIOOOLJ0/QypQTyiYvLDwz7nk0vCTK0NQVmD2F1KlBOs9TyMDMDa5i3j9gZNpDokmNNG/0Zh1drBSnQitSB4u2gX77R0OpQOaSeVbxZoSYVIgC8ANwmJxzDsXVDJm2CkbhG8WYEyWjxDhrw3pi1x+CrK9OuqTybWdkUOvNxrsh76uXNT7Qa4k/jtWC9tynJaYx3y1kW5mI5lTVXdF5xD4nRF0Lpxt3fDenMCMTjGE4PojhgdtrcY42ax0zlt0h14lPuRY8kPIitZHtYBB64d+LuiS2w7TuZS6rEOEHyyINVmFeKmEbPUzmvMl2YseIqZCL4I7rIc0Gg/P5kQQa3VWqN8qRj4dQlf57YHfvpCVYyeLBjcu/NTgz1cN4m2SpBosvHsMu2+YAujOd2wUbGdd7o5vRlkpQ8Dx3odLfg/1SLwIFZX5y/xCiXc4zBVXPo8LjMP5QSm/D502fjePTw1DcbiIdA8YV0v5NaBwerFuHOKMEEWgrWhIgzPlFAvaP6j1DLX4OxII19U7XdREML8fee7xv5X15xE3jwWJTOU7CTAUoHTv4Yu5S7wqUgx7KwJDLK8Ddus5dDRioSpgkSiXW4S/X05WB5x5wClmYU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(39860400002)(376002)(366004)(346002)(396003)(8936002)(9686003)(38100700002)(8676002)(55016002)(86362001)(71200400001)(53546011)(6506007)(316002)(83380400001)(66446008)(7696005)(66946007)(64756008)(76116006)(66556008)(66476007)(478600001)(122000001)(110136005)(33656002)(186003)(26005)(52536014)(2906002)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?R2ZiSzlDeUg4aGFMbFhzYWJJeHFyckZPZmJRaGgxR0hPd3N5T2FLVmczZHFo?= =?utf-8?B?cW02Zm9peE5kQVBNanlZQkNlOUVHVGFvQ25zTjcxazRiVWFwS3dYdjJmNXRz?= =?utf-8?B?b2c4UTl3SmdSWlU4SDErYXNVUmZQUDRISmFOM1dJS2RrVC9wNytsRnVId1dY?= =?utf-8?B?TUUwT2liOWVwSmJVcnBCdkdVc1pWMDlvcEYxVGhRQms1YlhVeGxNQzBYWFNa?= =?utf-8?B?RnNZTThkMG1XeTZoVUNISUtnc0hkNUJIb3kxSFVrRThLSW15VFR3Q3hYcGZX?= =?utf-8?B?TUxneEk1OElnMXpjSWY1SW9VbkhEKzJ6NFo0czJUTzdoVGVnNm9FYXFZY1Ex?= =?utf-8?B?N0JNVkllOFd6L2NKdU5FVFVKVzdFcWt5VzFXU1hueHd1TmRQY2RicFdmVVRu?= =?utf-8?B?ZURscFk0ZGYwanVCZ1U0Vys5V0sraWk5amZGY3UySTNoZ3I5Z1J5MTN4OEZ3?= =?utf-8?B?MUVnRW5MUHh2WTRnbFUzQlFPU1RoSVRib0pqUWdHa1REbHJZb2ZtL1NsZ0pq?= =?utf-8?B?cnJXaGZOc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THczR3JJUjdIeHpYNXcrS3NnWlV2cmJEak5vVS85VTZBeVVF?= =?utf-8?B?dWVyUmw4ajh5R3hTei8yYUwxR2lYL2ZnTnRsSCt6TU1YbGY4T3Iva2ZpWDRm?= =?utf-8?B?dTV1MnUydzZpYnZ2c2hXYk5zakphcUNhK1hpY1F2eXRoT2xZTDNJb2ZyQnVE?= =?utf-8?B?WFhaSUF0eUI2aEJRK1Fhdzh0cDAzejl4V2U0Yk5WeGQrQ3M5TUNtTkVTSXFa?= =?utf-8?B?Tmh1WVBjcFRQbUN2a0dPbG11eTFkUFFlaGVZQmtsZVlBOElDS0hRQjhtdUs2?= =?utf-8?Q?Wr8LfkMzfBubBfDpg4=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9818dfce-b233-41d0-218d-08d930c20fae X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2021 12:27:09.3165 (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: FbYsDwu2Yhlg6NLReDRPBQXT0NFwzayH6aulyegmzAHYhgMyYjS0sBTt1lPMQTfcYek3vMn03asYm9ZvK4iXLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3933 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 3/3] net/virtio: add MAC device config getter and setter 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"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