From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0078.outbound.protection.outlook.com [104.47.0.78]) by dpdk.org (Postfix) with ESMTP id 2F5A81B680 for ; Sat, 14 Apr 2018 22:10:33 +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; bh=9Xw6z2T7n1wJ5C8xoLxMTuOLMn7EyhU4yotQkKTiKOs=; b=YZOjTKQxvNEe3uJT3RGcL6q7ahZO34Kcjegpl4LQlf7ketSwwNZrHBpu/tMn1f4Y966KSP/G+wPFQds2Bl/Zftr2RNH+fsAUaLm13Gd1OExjMsXzN63dk8go2UTSYNQ1W5nkSGm4TQxWLJWObHrmW0US05FAPftYZlGtKeGF/zY= Received: from AM4PR0501MB2657.eurprd05.prod.outlook.com (10.172.215.19) by AM4PR0501MB2354.eurprd05.prod.outlook.com (10.167.123.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.675.10; Sat, 14 Apr 2018 20:10:28 +0000 Received: from AM4PR0501MB2657.eurprd05.prod.outlook.com ([fe80::6885:c169:afcb:37e6]) by AM4PR0501MB2657.eurprd05.prod.outlook.com ([fe80::6885:c169:afcb:37e6%9]) with mapi id 15.20.0675.014; Sat, 14 Apr 2018 20:10:28 +0000 From: Matan Azrad To: "Burakov, Anatoly" , Bruce Richardson , Thomas Monjalon CC: "dev@dpdk.org" , "pmatilai@redhat.com" , "david.marchand@6wind.com" , "jia.guo@intel.com" , "konstantin.ananyev@intel.com" , "stephen@networkplumber.org" , "fbl@redhat.com" Thread-Topic: kernel binding of devices + hotplug Thread-Index: AQHT00ThIlNWXyeugUC+Eesfo2Tt3qP+5c0AgAAQxACAAasfUA== Date: Sat, 14 Apr 2018 20:10:28 +0000 Message-ID: References: <2407757.yEAnF6RcS7@xps> <20180413164046.GD37024@bricha3-MOBL.ger.corp.intel.com> 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: [85.64.136.190] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM4PR0501MB2354; 7:SgSIGELzPVNaDTp89Qo04YqxiqJJ56/Wejxt83/DPWcwwtpa5jqv2NJggmiNfmWirOfPk2lDtsSiR2nHcdVt+egL6muoz9MeJ5OJlvoxXwoX1sE/Eh3Fwy8RZVrHs0ch+fnOPDWd/pP00SXzpBcKjsiLuV/Xi8Kap6TGsWjp24qvxXflihqDG63/4HSHrRHcnzefEGwrwZZVsqJ0esXd2Vvo/JwM1QkSIemL0h7wGCKSsnEHzmJp7xvcxljNdf8j x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:AM4PR0501MB2354; x-ms-traffictypediagnostic: AM4PR0501MB2354: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(278428928389397)(189930954265078)(45079756050767)(228905959029699)(17755550239193); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231232)(944501327)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041310)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011); SRVR:AM4PR0501MB2354; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0501MB2354; x-forefront-prvs: 0642A5E7BA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39380400002)(366004)(376002)(39860400002)(396003)(53754006)(199004)(189003)(76176011)(446003)(6506007)(54906003)(59450400001)(11346002)(102836004)(7696005)(305945005)(74316002)(8936002)(476003)(7416002)(110136005)(66066001)(229853002)(97736004)(5250100002)(68736007)(486006)(53546011)(2900100001)(316002)(99286004)(6246003)(26005)(4326008)(14454004)(186003)(9686003)(5660300001)(55016002)(86362001)(575784001)(966005)(25786009)(106356001)(6436002)(2906002)(33656002)(478600001)(45080400002)(105586002)(6306002)(53936002)(6116002)(3846002)(8676002)(3280700002)(81166006)(81156014)(3660700001)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0501MB2354; H:AM4PR0501MB2657.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: DtqBbOHmgIzw9MMNpfNnii/b6UodU/Q/K9ocqdQE5F2jP7l/kVTeFezZSUtsn512OrBzukz58Ey89legACetbMF71VsBp5uw6aNVUWdPGFMDOZEXEssTWPbVfLm2bO5wMa0bSwxAH+2UzBlRTEt11wDlqpazPTU9K6/Keb+KtXLjPtL01C5dezwOP2esJBAr spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 6a7f8a81-4c29-419f-d17d-08d5a243c489 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a7f8a81-4c29-419f-d17d-08d5a243c489 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2018 20:10:28.4746 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0501MB2354 Subject: Re: [dpdk-dev] kernel binding of devices + hotplug 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: Sat, 14 Apr 2018 20:10:33 -0000 SGkgYWxsDQoNCkZyb206IEJ1cmFrb3YsIEFuYXRvbHksIEZyaWRheSwgQXByaWwgMTMsIDIwMTgg ODo0MSBQTQ0KPiBUbzogQnJ1Y2UgUmljaGFyZHNvbiA8YnJ1Y2UucmljaGFyZHNvbkBpbnRlbC5j b20+OyBUaG9tYXMgTW9uamFsb24NCj4gPHRob21hc0Btb25qYWxvbi5uZXQ+DQo+IENjOiBkZXZA ZHBkay5vcmc7IHBtYXRpbGFpQHJlZGhhdC5jb207IGRhdmlkLm1hcmNoYW5kQDZ3aW5kLmNvbTsN Cj4gamlhLmd1b0BpbnRlbC5jb207IE1hdGFuIEF6cmFkIDxtYXRhbkBtZWxsYW5veC5jb20+Ow0K PiBrb25zdGFudGluLmFuYW55ZXZAaW50ZWwuY29tOyBzdGVwaGVuQG5ldHdvcmtwbHVtYmVyLm9y ZzsNCj4gZmJsQHJlZGhhdC5jb20NCj4gU3ViamVjdDogUmU6IGtlcm5lbCBiaW5kaW5nIG9mIGRl dmljZXMgKyBob3RwbHVnDQo+IA0KPiBPbiAxMy1BcHItMTggNTo0MCBQTSwgQnJ1Y2UgUmljaGFy ZHNvbiB3cm90ZToNCj4gPiBPbiBGcmksIEFwciAxMywgMjAxOCBhdCAwNjozMToyMVBNICswMjAw LCBUaG9tYXMgTW9uamFsb24gd3JvdGU6DQo+ID4+IEl0J3MgdGltZSB0byB0aGluayAoYWdhaW4p IGhvdyB3ZSBiaW5kIGRldmljZXMgd2l0aCBrZXJuZWwgbW9kdWxlcy4NCj4gPj4gV2UgbmVlZCB0 byBkZWNpZGUgaG93IHdlIHdhbnQgdG8gbWFuYWdlIGhvdHBsdWdnZWQgZGV2aWNlcyB3aXRoDQo+ IERQREsuDQo+ID4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