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 B95A9A04DD; Fri, 20 Nov 2020 03:30:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1EC10F90; Fri, 20 Nov 2020 03:30:18 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2078.outbound.protection.outlook.com [40.107.243.78]) by dpdk.org (Postfix) with ESMTP id A00123B5 for ; Fri, 20 Nov 2020 03:30:15 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ckSM9dPv9ZO21OsPefEiRlkTJ5eLDpVMUNQ/kWMm+DidDjRUNM02HCN8s0ngsx61oY9+lGmTqH22eGI+7V8GicYj6ltjCEY3OktlWwG2mEoDukbrUnu0STq7p6oxc1fmocNixLorbZboTxC9IcdYfl/Tkt6iEA1UrFGQRG1NnysSUeprXf9JwWcRyg4IkqstcB0brttvRU+zyo2vzuYLX15FvHGLCSeVrlHokLL5g0gC3pceRot4ZaY0kVRxuskvxmlc4XwcK1lspTzi23j/t4VQmCmX5ASP1hh9GTjWGnGKAG4h7kaEuVIgyxUmBzdqyQ36fGLFINOXIGSrDPROVw== 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=I6eGdtgOaArT7/dbNlTn4PBK5XTlzX43Rk4B5T++57s=; b=cwxLGp7+SFqsQ76TorLRRi80NAN3LlasnB8n72ScbqoSWaUtfW4n/OoigSur6dXxquY1Vqz1Jo/zLBd8fVwYy//KBpfW/37QrL+wfpt4cGa0Mv7Ymx7njNj0DF/BkNH/KWipHTSEPi5uCXibZoUqehCXcibNnbB43FsjclN1Bi9fY+de4Ng9zQb/EE+xvhRp3TEK+8KMiYsmSZH4Dz8seWGTm4kuP90PV7El59vaJuOZo8wsCu0wveP71dGodMsAiSVumjgyEuUlLPVJK9XUtIfcYGs0AApBTXjtYBAj5DpQCv3laTZsMAXwrl044Gqw3ipRg35OdUx5OS5qARm7Mw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriversystems.onmicrosoft.com; s=selector2-windriversystems-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I6eGdtgOaArT7/dbNlTn4PBK5XTlzX43Rk4B5T++57s=; b=AxvZDFxJ0+hqvKRVIXMXGjCf+s2anBPJzhJxXRmEVN0klNKJpW0GJrbmSCLUvV20EDHY3OkMw/G61nulNUuThfTG8C03fX+DLVO2h7SblplaM7y9xhNOq3nge72jJh69Xr/c4PXo6aOuffTjUnZkMgM2IjyMowF1C+W93T3JQj0= Received: from BYAPR11MB2600.namprd11.prod.outlook.com (2603:10b6:a02:c8::15) by BY5PR11MB3973.namprd11.prod.outlook.com (2603:10b6:a03:185::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.28; Fri, 20 Nov 2020 02:30:13 +0000 Received: from BYAPR11MB2600.namprd11.prod.outlook.com ([fe80::9c3a:15e0:fe83:ffd9]) by BYAPR11MB2600.namprd11.prod.outlook.com ([fe80::9c3a:15e0:fe83:ffd9%7]) with mapi id 15.20.3589.022; Fri, 20 Nov 2020 02:30:13 +0000 From: "Liu, Yongxin" To: "Burakov, Anatoly" , "dev@dpdk.org" , "thomas@monjalon.net" Thread-Topic: [dpdk-dev] [PATCH v3] usertools/devbind: fix binding for built-in kernel drivers Thread-Index: AQHWvkSOcQ3uHT1DckWurhhSRzzja6nPX6UAgADtnYA= Date: Fri, 20 Nov 2020 02:30:13 +0000 Message-ID: References: <20201118025854.13455-1-yongxin.liu@windriver.com> <20201119071646.10052-1-yongxin.liu@windriver.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=windriver.com; x-originating-ip: [60.247.85.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4879e352-0f40-4792-9f1e-08d88cfc35b5 x-ms-traffictypediagnostic: BY5PR11MB3973: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dEq47GLj3Xq8ddIa43I47w4yBykx/lPmSLJlUp9Wz3QhQdBW6q1bgrVLg4DS6KS/9hIMIGKN6suhqd54vDoUvhIwanhJtb7zPCYyDbnANmdXFFyStDrJfQuIl8SGd2WBP4qvm17fbh71/swriOzHd7J9+mjBn3yuDHG4g5gnQSG7OUCZRvy2eGjyd/n4uM4GxeOiccfGaHXooV1r84LjMWlj50XoPlIUKZGZCePMP7xXUG8rko5vbAjutFyN/HiGwH8TPlKrcV1v89F/3tw6JtWnIx5VOPci7Kemo+FZYRUN9d8j3idpUfuWjfYRi02P/CDSJn/NZ4YmOEnGguybOA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2600.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(136003)(376002)(39850400004)(396003)(33656002)(55016002)(478600001)(76116006)(52536014)(6506007)(7696005)(186003)(83380400001)(8676002)(5660300002)(66476007)(66446008)(26005)(66556008)(53546011)(8936002)(66946007)(64756008)(2906002)(9686003)(86362001)(71200400001)(110136005)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 4At7Y7wOEK5yAvaH650q9PMneX5uY4eD5p7HdJW/3qJmRnH8VjyYwTuomQ9qxJqcvbD/5yGQ2Cmu+6WkY22UZtIlA4FamqL19iT3JJBrTlRSHrpiz7B1z4WY+W5supKhSFUapdlKe/bTGtJAj9U+ZmTf7U7qTQhbqq6HTQy7LNyh6KEQ+NMgiewiKWEQS2Ugx5E3R8/JHNbnf0YD/EuxpxkCUffVDfLhCR1I9cTYYdXJY2D1VNGCRkJ8yoJXFLdcs+IN1DVNi4IxkmyFQ4z/JZDPPzS686NxzyaM5LVJj9NXKct6yL6tZ2sn10ulsLUQnYJQiSPsyzEViN+VIYGqpPXGYNyoHXFys/twUcCBmO0nrMycOTdcVk+T5WW69WThtuWq2w+4ur1trDCBKTdMt3lkdSgy8ycR+g83ZJRtrTSsOG8TWYYvOlJ0iNGPgYQ0jNdhclzA8TosxCf/xbADZbfoN/6CiSZCGHhmGgNuL03Hs0IuRHMN7QG5U4RUeijJA4L4QYVdzpwnILTGUZmzj93taIUV6Z64ErWaFQ2mRC+om8hSUZTf2ABL9kAKHT9HNpGv84b23FIFfltYdpdFYhJAODHg7wK8a0vycilEcHmaon+QwE0b7XzfkRmtXmoEUbi+FHXNCKJeavnXRO7M7A== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2600.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4879e352-0f40-4792-9f1e-08d88cfc35b5 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Nov 2020 02:30:13.2468 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: twyV6gG4e9Pi+avSgIuIVJVB/vsdlcFbWb3bHJPtBZJoBVwP+qo1vrFDdEIGDkHnro/BqU7EzUug/j8dI+WJHMVuRSnE8BRILpYazgpkK14= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB3973 Subject: Re: [dpdk-dev] [PATCH v3] usertools/devbind: fix binding for built-in kernel drivers 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBCdXJha292LCBBbmF0b2x5IDxh bmF0b2x5LmJ1cmFrb3ZAaW50ZWwuY29tPg0KPiBTZW50OiBUaHVyc2RheSwgTm92ZW1iZXIgMTks IDIwMjAgMjA6MTkNCj4gVG86IExpdSwgWW9uZ3hpbiA8WW9uZ3hpbi5MaXVAd2luZHJpdmVyLmNv bT47IGRldkBkcGRrLm9yZzsNCj4gdGhvbWFzQG1vbmphbG9uLm5ldA0KPiBTdWJqZWN0OiBSZTog W2RwZGstZGV2XSBbUEFUQ0ggdjNdIHVzZXJ0b29scy9kZXZiaW5kOiBmaXggYmluZGluZyBmb3IN Cj4gYnVpbHQtaW4ga2VybmVsIGRyaXZlcnMNCj4gDQo+IA0KPiBPbiAxOS1Ob3YtMjAgNzoxNiBB TSwgWW9uZ3hpbiBMaXUgd3JvdGU6DQo+ID4gQSBkcml2ZXIgY2FuIGJlIGxvYWRlZCBhcyBhIGR5 bmFtaWMgbW9kdWxlIG9yIGEgYnVpbHQtaW4gbW9kdWxlLg0KPiA+IEluIGNvbW1pdCA2ODFhNjcy ODg2NTUgKCJ1c2VydG9vbHM6IGNoZWNrIGlmIG1vZHVsZSBpcyBsb2FkZWQgYmVmb3JlDQo+ID4g YmluZGluZyIpLCBzY3JpcHQgb25seSBjaGVja3MgbW9kdWxlcyBpbiAvc3lzL21vZHVsZS8uD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