From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70080.outbound.protection.outlook.com [40.107.7.80]) by dpdk.org (Postfix) with ESMTP id A8827235 for ; Tue, 19 Jun 2018 09:07:38 +0200 (CEST) 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=pTgYTIe/WYgkfr6i55TMMLgTdPCEegaj8Mde4+Ceyr4=; b=Zi5yjJLY4Mja8YzPKEegmbgQyanwOATLYdcbKQ/VvmLmUvekktjRtLr43jc/ElcSgqFX8XbA7sGDvnjehQ2cz8cAwf0EQw94o7vbwAg2y98+LU0vr4Vl7CqZ8CpJHXgds+gRFn3ZinzCUOQfl8keqylQTScs2coz+3WxAD5Cq64= Received: from VI1PR0501MB2608.eurprd05.prod.outlook.com (10.168.137.20) by VI1PR0501MB2158.eurprd05.prod.outlook.com (10.167.196.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.17; Tue, 19 Jun 2018 07:07:36 +0000 Received: from VI1PR0501MB2608.eurprd05.prod.outlook.com ([fe80::4548:a183:6278:6d9f]) by VI1PR0501MB2608.eurprd05.prod.outlook.com ([fe80::4548:a183:6278:6d9f%2]) with mapi id 15.20.0863.016; Tue, 19 Jun 2018 07:07:36 +0000 From: Matan Azrad To: Chas Williams <3chas3@gmail.com>, Stephen Hemminger CC: Alex Kiselev , Chas Williams , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] net/bonding: add add/remove mac addrs Thread-Index: AQHUBzZmKrYy6dSXXUKXITUxy6RatKRmu/AAgABqoKA= Date: Tue, 19 Jun 2018 07:07:36 +0000 Message-ID: References: <20180618122720.5B3F51559@dpdk.org> <20180618115833.161b14d8@xeon-e3> In-Reply-To: Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0501MB2158; 7:LiLs0Kp6LDXNEX7dYrQMNlhRE7oigoWIzNtmwYgsOCtC9OeTe7Gss2YqEQCaZp9NODCGatNmn2GKyBA/mVK3nRu0pxZZVzyFzEXwE3JO8VGiwydm32g1ibprpO/vPvPmdm70eQayZpkFcy61wjwgwZlkjaU/F35LuDMQtb5l7c6P7RoC7RdGR6P75Ijlq5mFqZrlQFlQlbPJyJN2cQ1F9SYn+yEUq/nwnmBddjKzVoLILeUTDLOJkCI/zQi4+TDH x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: dce4446d-19ab-4672-6e98-08d5d5b3562e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR0501MB2158; x-ms-traffictypediagnostic: VI1PR0501MB2158: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:VI1PR0501MB2158; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2158; x-forefront-prvs: 07083FF734 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(396003)(39860400002)(39380400002)(366004)(189003)(199004)(51444003)(7736002)(105586002)(54906003)(14454004)(66066001)(3846002)(68736007)(6116002)(86362001)(7696005)(99286004)(186003)(446003)(74316002)(110136005)(53546011)(6506007)(11346002)(486006)(476003)(5250100002)(76176011)(26005)(102836004)(316002)(305945005)(25786009)(9686003)(4326008)(39060400002)(8936002)(6246003)(81156014)(81166006)(8676002)(97736004)(229853002)(33656002)(3280700002)(2906002)(53936002)(2900100001)(3660700001)(6436002)(5660300001)(55016002)(106356001)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2158; H:VI1PR0501MB2608.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-microsoft-antispam-message-info: +eRo7CzNeP4HneY1wLGEmsx9afx8cF+TH1Si2YYErURGY0c1+uYg3lCYu/LpNx2tAnSdpVSxWigWtVyQvKKT9i/WGcNvT2KHFzWXH+3S3H8WihcFWORhU+iljhaw8K0Ce8BIuIFg8wPyC1+IkHogk65ZH3E3Staf6VSHpJFHaG067/cJcyPVp3n3kDfyvfdbEyOl4Sry0r/69fJCHFvve3tsdIXSB6yIz7KOS6BnMVVue4YFxQt2padjVodZHPPF4PV9P02SYUY6Te7Py3aWVz+CLPXAgWicUcEPCroQLcx29MhaWsI0s1EFk8NOhekQf8ppMDxvy1+qxYKmPblJ4w== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: dce4446d-19ab-4672-6e98-08d5d5b3562e X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2018 07:07:36.2827 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2158 Subject: Re: [dpdk-dev] [PATCH v2] net/bonding: add add/remove mac addrs 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: , X-List-Received-Date: Tue, 19 Jun 2018 07:07:39 -0000 SGkNCg0KRnJvbTogQ2hhcyBXaWxsaWFtcw0KPiBPbiBNb24sIEp1biAxOCwgMjAxOCBhdCAyOjU4 IFBNIFN0ZXBoZW4gSGVtbWluZ2VyIDwNCj4gc3RlcGhlbkBuZXR3b3JrcGx1bWJlci5vcmc+IHdy b3RlOg0KPiANCj4gPiBPbiBNb24sIDE4IEp1biAyMDE4IDE1OjI3OjE2ICswMzAwDQo+ID4gQWxl eCBLaXNlbGV2IDxhbGV4QHRoZXJvdXRlci5uZXQ+IHdyb3RlOg0KPiA+DQo+ID4gPiArc3RhdGlj IGNvbnN0IHN0cnVjdCBldGhlcl9hZGRyIG51bGxfbWFjX2FkZHI7DQo+ID4gPiArDQo+ID4gPiAr LyoNCj4gPiA+ICsgKiBBZGQgYWRkaXRpb25hbCBNQUMgYWRkcmVzc2VzIHRvIHRoZSBzbGF2ZSAg Ki8gaW50DQo+ID4gPiArc2xhdmVfYWRkX21hY19hZGRyZXNzZXMoc3RydWN0IHJ0ZV9ldGhfZGV2 ICpib25kZWRfZXRoX2RldiwNCj4gPiA+ICsgICAgICAgICAgICAgdWludDE2X3Qgc2xhdmVfcG9y dF9pZCkgew0KPiA+ID4gKyAgICAgaW50IGksIHJldDsNCj4gPiA+ICsgICAgIHN0cnVjdCBldGhl cl9hZGRyICptYWNfYWRkcjsNCj4gPiA+ICsNCj4gPiA+ICsgICAgIC8qIGFkZCBhZGRpdGlvbmFs IE1BQ3MgdG8gdGhlIHNsYXZlICovDQo+ID4gPiArICAgICBmb3IgKGkgPSAxOyBpIDwgQk9ORF9N QVhfTUFDX0FERFJTOyBpKyspIHsNCj4gPiA+ICsgICAgICAgICAgICAgbWFjX2FkZH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