From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2C2DEA04B9; Mon, 11 Nov 2019 15:03:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 981F01F5; Mon, 11 Nov 2019 15:03:13 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150087.outbound.protection.outlook.com [40.107.15.87]) by dpdk.org (Postfix) with ESMTP id 4668D91 for ; Mon, 11 Nov 2019 15:03:12 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FU9JzAwXkfYuwHZnMFL9dpRbt5rfRIXwsjNU/MQOOuYKMsZ7jOkudKE9VyqEvPjtN5y6u+riufonmfOOd3MhZNnIW+i0EMh0gnIGa5O54yxxZZu2EgpEbqJCB8KcfAIIHLFLXAPnjL0DzpxASXRwOGiLluAJOXTyQIJWD71eN0/gti5Z7QYvFpY0xRPKos0GmeCzHqqgdZpZDoUcHUrUFtClB1Ff2QrTE6a3euvig2YEHushCzeMLW0jWzzFf6CqR+ISerwJzK0EXa19OSAkzEoakURVetRmqe1beqe7CvOIYqtqMaG+t4w+Huszd+dWtw+zVkmg3mCTNEwRlIbXkw== 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=czsy8mropiGVzGZrjugeJngKDtjTaXJB3DzSzNbOm2s=; b=jFm5rWniR8QM1DKhSmUJGAII0W0RSXUWtFrGXxoQAgrA7o/FxdbH9bbB+oQOMcDLckjZ+++tpjSKDYLivpByd/h5J6KFURA2xTqfZU3JQVWEz6+vglTP34tKOt9XTvGK8V4ocHFerxVvnssmaJa0zcIH9edoHCVjwqs0KeqdpZmr97S6/5vUeTVbz1k3RhVWKHrMJjLoyzm8j3LHwaHSMPRhb8uUHfLS3OrpNQBgYdzFlqpClQ68X7lDh2pJU3Jeg+I7tMnH8vhRW3yonf9hPH6M4ETOC7bepmiFvR+ygGOHehhjONrNoW9qAZ177GmxkUJEa8uiHMMvPO+w8He9bA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=czsy8mropiGVzGZrjugeJngKDtjTaXJB3DzSzNbOm2s=; b=VIDk80KlXXOkzNglLuFh1y/eZV5S5I9zJViaFMFMtXhzkf/QduTorAysOZxPaOpMG/ExfczxXnPwcPguIsax1ia4ZC/fMju+B2HBYlgk1IaRZsZ4GrVo9PRpJWCvl00wJC6yVoK0mB14VOFNJLep5if3KYf2oUm/rUMYVkEy+Bc= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB3948.eurprd05.prod.outlook.com (52.134.72.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.24; Mon, 11 Nov 2019 14:03:10 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::a850:bac9:c90f:f2f5]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::a850:bac9:c90f:f2f5%6]) with mapi id 15.20.2430.027; Mon, 11 Nov 2019 14:03:10 +0000 From: Raslan Darawsheh To: Raslan Darawsheh , Slava Ovsiienko CC: Thomas Monjalon , "dev@dpdk.org" Thread-Topic: [PATCH v2] net/mlx5: set VF MAC address from host Thread-Index: AQHVmITLNHw5WLV98EOQSg2cxj2JUqeGAFyg Date: Mon, 11 Nov 2019 14:03:10 +0000 Message-ID: References: <1573142599-10735-1-git-send-email-rasland@mellanox.com> <1573472413-6966-1-git-send-email-rasland@mellanox.com> In-Reply-To: <1573472413-6966-1-git-send-email-rasland@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [82.213.2.186] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 26134ae5-c345-44a3-63e8-08d766afe291 x-ms-traffictypediagnostic: DB3PR0502MB3948:|DB3PR0502MB3948: x-ms-exchange-purlcount: 2 x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0218A015FA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(136003)(396003)(346002)(39860400002)(189003)(199004)(13464003)(4326008)(76176011)(71190400001)(66066001)(71200400001)(966005)(6636002)(478600001)(7696005)(14454004)(45080400002)(486006)(186003)(476003)(55016002)(7736002)(6506007)(53546011)(102836004)(26005)(25786009)(256004)(14444005)(6306002)(305945005)(74316002)(86362001)(446003)(11346002)(9686003)(6116002)(66446008)(64756008)(8676002)(316002)(99286004)(76116006)(110136005)(54906003)(2906002)(8936002)(6436002)(66946007)(66476007)(66556008)(229853002)(81166006)(81156014)(3846002)(5660300002)(52536014)(33656002)(6246003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB3948; H:DB3PR0502MB3964.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yb333GvS3kCS8JbKA1jSSe95Ql++/WP32yyAdcPZyyS2HXrPLVAMBL5W3H0D3ftR2skvjZwVGQplqAmlDKYyOmS0FY6usSP63/Jxgf566xAWcQIFak7l//DrW1jCgZ89VDrqmU7E5ZrYZ4dCP1MxPOt8eJRAeqit3CEjKdq6WEMg4xioJtUfMeK5n+0AQWTltPLAlqBq3jZC6zHqYC2WzrAIbB1NEwmFqh1yQCJRh6sFcN577JeeRuhBId7MpK32or3jWgblA8C94EE1wna3MWb2eEpHwpXLVEyKpkZkRHHruPntgeOuP/LrmP5ibPNYeTA66MfNcbkwyj0onuGA3XpDTQLu8nc0V9ZGW8gnafioBmiRtOnSY5BEwiEQq9bbdSg0tU1sUDeaXxlqENr8GPVkvkMduhcSgPmieppMo5YnMQcOxNPS4MYf0Jb1bbV7 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26134ae5-c345-44a3-63e8-08d766afe291 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2019 14:03:10.1924 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7VCAW3pALmMT/zVbMwUp0BjaZtag6+rG6LSvWrI42Y5xI4AD95eUBzyl28y17pD6QNy64D20v6ktuKeuVBbiKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB3948 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: set VF MAC address from host X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hi, > -----Original Message----- > From: dev On Behalf Of Raslan Darawsheh > Sent: Monday, November 11, 2019 1:40 PM > To: Slava Ovsiienko > Cc: Thomas Monjalon ; dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2] net/mlx5: set VF MAC address from host >=20 > Allow to configure the default MAC address of a VF > via its representor port in the host. >=20 > An API was proposed to specify explicitly the VF as a > target: > https://eur03.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fpatch > es.dpdk.org%2Fpatch%2F62176%2F&data=3D02%7C01%7Crasland%40mell > anox.com%7Ceae200f7fe9a4dfd9f4a08d7669bf317%7Ca652971c7d2e4d9ba6a > 4d149256f461b%7C0%7C0%7C637090692316231424&sdata=3Dr%2Faxjgak6 > wG8192hP8iXGmM9i67ZwcxGRcNYhgirl5Y%3D&reserved=3D0 >=20 > It has been rejected by the technical board in order to > keep compatibility with behavior in Intel PMDs. > https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fmails. > dpdk.org%2Farchives%2Fdev%2F2019- > November%2F150588.html&data=3D02%7C01%7Crasland%40mellanox.co > m%7Ceae200f7fe9a4dfd9f4a08d7669bf317%7Ca652971c7d2e4d9ba6a4d1492 > 56f461b%7C0%7C0%7C637090692316231424&sdata=3D5ST1D5mGMze5IGa > LSm%2FjwbQuB4bs0UJ1HsaVqEoxfzo%3D&reserved=3D0 >=20 > Signed-off-by: Thomas Monjalon > Signed-off-by: Raslan Darawsheh > --- > v2: use RTE_PTR_DIFF, and change the use of representor id to representor > bit > --- > drivers/net/mlx5/mlx5.h | 2 + > drivers/net/mlx5/mlx5_mac.c | 20 +++++++++ > drivers/net/mlx5/mlx5_nl.c | 98 > ++++++++++++++++++++++++++++++++++++++++++++- > 3 files changed, 119 insertions(+), 1 deletion(-) >=20 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh