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 DE5B5A04DC; Thu, 26 Nov 2020 16:05:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1D119C9B4; Thu, 26 Nov 2020 16:05:46 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id CCE38C9B0; Thu, 26 Nov 2020 16:05:42 +0100 (CET) IronPort-SDR: vWamEKl3S3ZhIEDPocNTuPmqgBTprs2nwuPPJBm9Soqo4c3KNMPBMSOBTAvC/lwEfRHHrR2QtC wI8T5Ps7b/yA== X-IronPort-AV: E=McAfee;i="6000,8403,9817"; a="160067942" X-IronPort-AV: E=Sophos;i="5.78,372,1599548400"; d="scan'208";a="160067942" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2020 07:05:34 -0800 IronPort-SDR: SwXboMBoB29226NfCLFNZpQXEFRHiwa1ARDV5QkraS77rZ3Ljd2qA+NbJzizl50z45J9xvk75p YCpW9b1S8Kzw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,372,1599548400"; d="scan'208";a="371305732" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by FMSMGA003.fm.intel.com with ESMTP; 26 Nov 2020 07:05:34 -0800 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 26 Nov 2020 07:05:34 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 26 Nov 2020 07:05:33 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 26 Nov 2020 07:05:33 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XFENDbljrMo6xR+4m/0k6ABvNhX1kZ3E2lvl6B9BPoDyPtKOQHjh0vJ+AOSlAVD/O39BVc98wth1FZXZApE6m6zcfdqkheSa2CBPp/lIau4Ap4FqMNibMPXIu7mlwlNjqmovizpISd1RORt9R50Y0usvUhXvmT8h3IwcDXQeAfESwmx/LaYDHETRODytDIU5Tut8QYpeWKHEbFRZXfT3xSjxCKXmUnIF/e2oywozhrJCv2D1sNEQ5+Bt9yLhxpHxUa8RVnl15hS6J4RPFVT+EzOkoqPNS9X3ZXnMZiqrBhBjZCQVb+Oe67pY+Uf0QxYgsERd5W8pLgASO6UwzjhMpA== 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=TRlqDqvxS1jvv7jjU2zbS4wNlzY+HCjPlHhgVFgsvZA=; b=dGaXWLBWdKK3HZbTlq9lt+RRs5v5uqJaIobKqajMCFywZLYJRK5y6xDCPYhEBxed1oHCCWNN8tWqAmfk10McY9h3toQpfAsEMvW8M0RZiPyHdtVBIG9bYC23YI8imjNbYyO2a4om9lZ7AgI3PgKlRcC1vU+UD8xOBEhpV4aFNDlrVCj+2vGl/Y+MzXWLGzq0YngSM0gEj8gPsSMSyTQC+CQwJckjfpA8k8utHpr6NLvfpTSprZ5uUEr2BjhEc2rbL/QrH+ncfYZyL9+kA+sbg7otgkh3kajZYVT3frUAkD9QwT6qAJw2yeZMV1LAikISsX3hdAu4B+8KEa5s3L574w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TRlqDqvxS1jvv7jjU2zbS4wNlzY+HCjPlHhgVFgsvZA=; b=Rhi/N2J+YIzMrA8u8kvJtwT4BQ8UXLoLbPQldkM7z1ssWRRSWFC/sXqZo6qra+IbF4qcz6Hs7GBLID9SUsZRdBrjh+Hb30YzLykmtBWOVWPMJqKxwN7CNsm5ue43eAQtNqnyBfmYQHK/HgT+bFzsTjb9lkKy+ukk3yDCzYji4rE= Received: from DM5PR1101MB2121.namprd11.prod.outlook.com (2603:10b6:4:50::19) by DM5PR1101MB2123.namprd11.prod.outlook.com (2603:10b6:4:53::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.22; Thu, 26 Nov 2020 15:05:30 +0000 Received: from DM5PR1101MB2121.namprd11.prod.outlook.com ([fe80::283c:db65:84a4:b621]) by DM5PR1101MB2121.namprd11.prod.outlook.com ([fe80::283c:db65:84a4:b621%10]) with mapi id 15.20.3611.022; Thu, 26 Nov 2020 15:05:30 +0000 From: "Walsh, Conor" To: "Yigit, Ferruh" , Thomas Monjalon CC: "dev@dpdk.org" , "techboard@dpdk.org" , Stephen Hemminger , "Richardson, Bruce" Thread-Topic: [PATCH v2 5/6] usertools/setup: fix loading vfio module Thread-Index: AQHWw/8W1bAy4LJFoU2i1pj6zw60/anaggUQ Date: Thu, 26 Nov 2020 15:05:30 +0000 Message-ID: References: <20201126141832.2277628-1-ferruh.yigit@intel.com> <20201126141832.2277628-6-ferruh.yigit@intel.com> In-Reply-To: <20201126141832.2277628-6-ferruh.yigit@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [86.40.70.33] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f64d50bf-d9f0-4d3c-5cf7-08d8921cb748 x-ms-traffictypediagnostic: DM5PR1101MB2123: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True 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: nuF75HFgM0IiL+ziIf35W51h0eYXiNswVNzZGYWzGVA6q6m7z5X7sdSBnP6D6/PvsPmG/TODBgaDwfxLd4xNV9so1rs/C2Jf0joOP8THlc0epsoZpmai1+3tqUzBNCoz5F7o9k5XCYy108dTuPHsMeG+XuM4XMlEspcdjupNy9jRtoX9pYrDz+8sVXg1dOh9OcedewJwqY1Wsdh9vmFb3Estl/eQOIjgVFR6RTDpa0E7M5EQe1ZY21rvl8HmKoL8kg+1f6oioB3RzNa4Rj6ypPA5yvfr7wMEACywGB4SmccN2lB1bxdOQ5Q6oNkbg6/l x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR1101MB2121.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(346002)(396003)(39860400002)(136003)(110136005)(86362001)(478600001)(71200400001)(9686003)(33656002)(4326008)(8676002)(54906003)(2906002)(7696005)(55016002)(5660300002)(26005)(107886003)(8936002)(52536014)(186003)(53546011)(76116006)(4744005)(316002)(64756008)(66946007)(6506007)(66446008)(66556008)(66476007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?lF462yV8rkCrqa/g93t8RbP+COGQHDMZzlIFizeEvhQth6YH97morcplHdHG?= =?us-ascii?Q?cwmtxdqRUeq0HkhEvX86KF12C8XukEWlXkeXLp6ELt/Yx6TUTPBGwx1V8zQ4?= =?us-ascii?Q?/TfLf92H9OMrHqshNn2g1UZteiTYY1n23TjNQA7zbj5H3V++Z6IdAmcsh1wD?= =?us-ascii?Q?nJPl1Ed9IQiwgghUggyzemxO3HNR0u4l2z/s+wuSY4O8SnPkdOJD+lJTdeMa?= =?us-ascii?Q?JB17jOxgmNSxMxeyaQVl5OBYt+smmSPADkcbk5KTUZyj6ef2p5jbzIqBPawj?= =?us-ascii?Q?CTEff6cJDuBIxSY/uuwrHY6xMlQjWqI1dQPmGGgd9SMpet4hmP+NC55ylrRy?= =?us-ascii?Q?weO05V5AWbEMI0PW/eDhM4oG6hENaRlYNkpayR415QxBoH9tLWTU95v2EUpl?= =?us-ascii?Q?4FegiaeISY/kjErS/u8zxC58wy0NTTU8mRVllw7IoZhsE1QDnevICCLZCX9K?= =?us-ascii?Q?t++25bwn1+gzXmrp5COXJ6WT5a9BB4wDnTc8B1ljGrOTYLD6feASH8jL/6e+?= =?us-ascii?Q?liwtYPYzgkO6N8YYLIKl9YVQsP9WhHweijcgnImlRWc0kzNIn7/SYT+pVU7P?= =?us-ascii?Q?e2K3SxlMucz39pGuhcW6SlBGjL1ftYMwGeDCwaiw4C8YFDCPQ08azwpNy9UP?= =?us-ascii?Q?H+/c5huAE6Uccb/zoR1tB/YQ6uhGXEnXZ4p+EzzinRpriz2ufHfJ/JRiiVtI?= =?us-ascii?Q?SaLUWAu4CNdzxehl+0cS3HDoDHYWaRcqSMbBGx6EyrldxPq2qpi4aQCcRjt2?= =?us-ascii?Q?Tgx7cssspKUHA10RtvRAT4uyySuDAQbku6K9/hVDS/ARxrrrkW0L7V2K4hYV?= =?us-ascii?Q?U+yEooQ6IBaSAcKp9pLjE6UgJddKYpRtFA9nf04pu71kWPXtJW+a4DSizpFN?= =?us-ascii?Q?0uzzc07n5nWkAB7IbIycXXC41n97iT+6Noepj6TSiN8li5eRfto5DtDYiUNn?= =?us-ascii?Q?4S6+aAt7xhggNaLf8RlgA+jMFlwFMJm+flcsUruaalA=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR1101MB2121.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f64d50bf-d9f0-4d3c-5cf7-08d8921cb748 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2020 15:05:30.4007 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: g8LzvD/l339HwrRkKepk5eGfXFj6LL3X/rCG+i4gA7pnLVWXu4cslAmb0IIRHb4Mz5UzKZ7zIth3xaioygJhug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1101MB2123 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 5/6] usertools/setup: fix loading vfio module 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 Ferruh, I tested this patch on Ubuntu 20.04 (5.4.0-53-generic) and Centos 8.2 (4.18.0-193.28.1.el8_2.x86_64), load VFIO worked on both systems= . I'm not sure if this is a problem that effects either of these distros thou= gh. Thanks, Conor. > From: Yigit, Ferruh > Sent: Thursday 26 November 2020 14:19 > To: Thomas Monjalon > Cc: Yigit, Ferruh ; dev@dpdk.org; > techboard@dpdk.org; Stephen Hemminger > ; Richardson, Bruce > ; Walsh, Conor > Subject: [PATCH v2 5/6] usertools/setup: fix loading vfio module >=20 > script is checking the existing of the kernel module file, but in some > distros kernel modules are stored compressed, like as 'vfio-pci.ko.xz'. >=20 > Add wildcard to cover both compressed and not compressed cases. >=20 > Signed-off-by: Ferruh Yigit Tested-by: Conor Walsh