From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0045.outbound.protection.outlook.com [104.47.2.45]) by dpdk.org (Postfix) with ESMTP id C4A9114E8 for ; Wed, 13 Dec 2017 12:34:34 +0100 (CET) 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=tSwWvvAo9e/rKWSVYhD6bY+ASQtyKxQl/2oRyxvCsvw=; b=J1DeSezNpdprIbL8SgEIv1KfnFUB6sP9x9IInmL/TfIVRC4aL1DtjsXc+8INUuZjAbauko7mV+rVC3GOowLr3TQyR3MnKH9S0nGFBN4Z4kXX1zaRp4ZxIHk+uH13ohST7fRP0Jpwog+KX9tZoItq3CLmrTaQbYooM4fhvI/B4o8= Received: from AM4PR05MB1907.eurprd05.prod.outlook.com (10.167.91.15) by AM4PR05MB1905.eurprd05.prod.outlook.com (10.167.91.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Wed, 13 Dec 2017 11:34:33 +0000 Received: from AM4PR05MB1907.eurprd05.prod.outlook.com ([fe80::b0cf:4ecd:d349:a71]) by AM4PR05MB1907.eurprd05.prod.outlook.com ([fe80::b0cf:4ecd:d349:a71%13]) with mapi id 15.20.0302.013; Wed, 13 Dec 2017 11:34:33 +0000 From: Mordechay Haimovsky To: "jia.guo@intel.com" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v6 1/2] eal: add uevent monitor for hot plug Thread-Index: AdN0Ar8CLCVpCU+rQX2sQCWw0tbcCA== Date: Wed, 13 Dec 2017 11:34:33 +0000 Message-ID: Accept-Language: he-IL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=motih@mellanox.com; x-originating-ip: [79.176.4.69] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM4PR05MB1905; 6:xs5G0xxKDuBiSVRQAz3EmHfRmbWKbAO2ZhYBq7/+EGR7pdaxoeMhns715eqhMCKShlYgQvnITzFyPjizOeAXY2Hfc2dj4PEC3CTSHXMsIGY3/jRDM7XAJuIrJNe1RbbBg2bNZeTYWIZTbEvqmzoHoB9bj+m9gdV03L9r6rzTdn5hpTdoGGT0edAViUmaoW7xGdkts3skk3H0j6oJ7EvnapW+3yJO7wT8zxRG8NjsGHZVR7egBkHKiUQY1Xq2hjjLmDz8jVH3wddnxvMEI3E5V7Kih4wrs3jFjA88YoNeTI8UsWtqAVJf4YpDpBgSjLXGJqJAJ10NcW95DUiWYEJWPnjcSmqmwH8bRVm3Xm/yeUE=; 5:JbSl2fDiT91heOCqdFIDjn1RqwBGo6Oyk5Lw+sJ4xNF79TsdOP7r3i1osh69KhYRUywaXrqo9g8qCje3Y3ZGmqI1Gx8ipmJRjZbfIJrxkaR/tGT/6o5ArNIzA257oDSfkzEB90OpLYA4MvNFUekmWDbFPlV+/Vbc5wU3JxmLB58=; 24:MUUtmZy0b7m3x2MKevJNlTxwCMLo1XJHVcA/w01pTdGgSlr3/hFSmmwEDUYOeKBj7+fgKWHUb1vd+c21RWrqPfeNEojm9azF8BLKYWwPiKw=; 7:BE+mqLyciuthhtpLONjizkV6u5EwVYDaKqbCMhTFXFJvbnH8IJhh9M2W+bLAgBI3mA7SNFxvbTkN0ObfjV7Acz62uqIkElhQtiAEU4LiXxMfT6LYlNdZKINmQxATWdwCC0jqAXE72+LgFdJH38pIlqG6t5bNpPyMchbEB4P967ozd9B+Y6l7m5NWN+YmQubQ8sZp1HHsFyk8xDnD1GOX8fGVWif6adBroKCE2dOny8beL5huDbblh7QEz3CR/gKw x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7bf20279-b638-42e6-790e-08d5421d7b5e x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307); SRVR:AM4PR05MB1905; x-ms-traffictypediagnostic: AM4PR05MB1905: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(3231023)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123562025)(20161123560025)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(201708071742011); SRVR:AM4PR05MB1905; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:AM4PR05MB1905; x-forefront-prvs: 052017CAF1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(366004)(346002)(189003)(199004)(3846002)(2351001)(74316002)(102836003)(33656002)(6116002)(86362001)(105586002)(3280700002)(316002)(81166006)(8936002)(305945005)(81156014)(68736007)(106356001)(66066001)(7736002)(8676002)(9686003)(55016002)(14454004)(478600001)(2906002)(5660300001)(4326008)(2900100001)(25786009)(5640700003)(97736004)(2501003)(7696005)(53936002)(6916009)(5250100002)(99286004)(3660700001)(6436002)(6506007)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB1905; H:AM4PR05MB1907.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: 7bf20279-b638-42e6-790e-08d5421d7b5e X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2017 11:34:33.2660 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB1905 Subject: [dpdk-dev] [PATCH v6 1/2] eal: add uevent monitor for hot plug 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: Wed, 13 Dec 2017 11:34:35 -0000 Hello Jeff, I've failed to apply the patch on latest DPDK (git://dpdk.org/dpdk),=20 Due to missing eal_common_vdev.c file What am I doing wrong ? Moti $ patch -p1 < dpdk-dev-v6-1-2-eal-add-uevent-monitor-for-hot-plug.patch = =20 patching file drivers/bus/pci/bsd/pci.c Hunk #1 succeeded at 126 (offset -1 lines). patching file drivers/bus/pci/linux/pci.c patching file drivers/bus/pci/linux/pci_init.h patching file drivers/bus/pci/pci_common.c Hunk #1 succeeded at 282 (offset -1 lines). Hunk #2 succeeded at 482 (offset -1 lines). Hunk #3 succeeded at 504 (offset -1 lines). Hunk #4 succeeded at 568 (offset -1 lines). patching file drivers/bus/pci/pci_common_uio.c patching file drivers/bus/pci/private.h patching file drivers/bus/pci/rte_bus_pci.h patching file lib/librte_eal/bsdapp/eal/eal_dev.c patching file lib/librte_eal/bsdapp/eal/include/exec-env/rte_dev.h patching file lib/librte_eal/common/eal_common_bus.c patching file lib/librte_eal/common/eal_common_dev.c Hunk #2 succeeded at 258 (offset -10 lines). can't find file to patch at input line 746 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/lib/librte_eal/common/eal_common_vdev.c b/lib/librte_eal/comm= on/eal_common_vdev.c |index f7e547a..2ad517c 100644 |--- a/lib/librte_eal/common/eal_common_vdev.c |+++ b/lib/librte_eal/common/eal_common_vdev.c -------------------------- File to patch: ^C