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 0E3FFA04DD; Thu, 26 Nov 2020 19:31:31 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D8FD5CA5C; Thu, 26 Nov 2020 19:31:29 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id E8803CA5A for ; Thu, 26 Nov 2020 19:31:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606415486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yf5D8o2sHzKwgNw2nYLYv8fTc7MyzKD5wjSqdyTOc5o=; b=FkQgiZ0zaCl5+c9PKA9AXH2EvdCPC0f3HgOdK7sK3gmx7EFsC4IiVB3YerbSkmhuxCmJiH Z2CF4f1Im7ixb80JNo/E7PMN3CgDxhGdIjxaMoZ4TpD3IN1mJB8/ZVAFOeskITAi0RH2m6 LHqELKGWwQPZueHVWpbF2KQV/gWHYYc= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-337-AArNdPnQPhejIjHMhv-dhA-1; Thu, 26 Nov 2020 13:31:24 -0500 X-MC-Unique: AArNdPnQPhejIjHMhv-dhA-1 Received: by mail-vk1-f200.google.com with SMTP id o193so1075872vka.3 for ; Thu, 26 Nov 2020 10:31:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yf5D8o2sHzKwgNw2nYLYv8fTc7MyzKD5wjSqdyTOc5o=; b=raww4lGL5UBrEbOv+OYh2o5l6juQfOP9nktadu/V7r6+DnDQun/flW3eMPNRxtbuMT gzbx+8YkMigh6JhT+IxP4wbUEQuqXmKw7PZw0F1mgIfguWIs0dFyat0630zg5GN6J9zp e7iggI8mzt+v0U1WqHaEy+VoUglAh7PnnKWGwZMNNk42CpTlD35f8YU/QMFXxgF8a8Qe WjkGOblKaTSW6lA2OOjUbxd2sqG8G3csk0ExcHDAiD8VxZ02Wk59J24/N+2TtHfVkZMi Rnk8MQE6ZFe1kuzyusPN8A/LJsf8nCF57/Wb/wc6MGpNtoJ1/4z2OgptP2E+OZbwL6rt R+tA== X-Gm-Message-State: AOAM532BUFE9tceTHqcVRHbGMaDLNWM8xMOf5Q41vTNRRl2ZEUQtYtA8 yPl0p77uhsQt37s81m3jeoYOC30o49RpzQdRvoMsBubiHHS4Yy76F0G2Gv/sO4l8Hb0bGF24LJp nlbcwCA3bEboOYgM5Wyk= X-Received: by 2002:a67:42c5:: with SMTP id p188mr2757556vsa.27.1606415484010; Thu, 26 Nov 2020 10:31:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXUQ3KdKLx7m0xZinwjoq2Q2MWDNwXuUDMmyPQD0LOF45dH8/ogz6bRPudyutIqiEctJBAVplIlqQ40j+yy7s= X-Received: by 2002:a67:42c5:: with SMTP id p188mr2757550vsa.27.1606415483834; Thu, 26 Nov 2020 10:31:23 -0800 (PST) MIME-Version: 1.0 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> From: David Marchand Date: Thu, 26 Nov 2020 19:31:12 +0100 Message-ID: To: Ferruh Yigit Cc: Thomas Monjalon , dev , techboard@dpdk.org, Stephen Hemminger , Bruce Richardson , Conor Walsh Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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" On Thu, Nov 26, 2020 at 3:20 PM Ferruh Yigit wrote: > > 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'. Since this script expects modprobe to be installed (coming with kmod tools), it means modinfo is available. Checking for module availability should be "modinfo vfio-pci". -- David Marchand