From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4FBD1A0C55; Wed, 13 Oct 2021 18:52:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3B3994067C; Wed, 13 Oct 2021 18:52:24 +0200 (CEST) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mails.dpdk.org (Postfix) with ESMTP id C81DE40151 for ; Wed, 13 Oct 2021 18:52:22 +0200 (CEST) Received: by mail-pj1-f51.google.com with SMTP id qe4-20020a17090b4f8400b0019f663cfcd1so4906211pjb.1 for ; Wed, 13 Oct 2021 09:52:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=o9bkSze/Jy4nhBU2oLSmjW+O6jzvUUWJwj1ZygkK2Ps=; b=Ez+Q695LfkC6ff2PjPoVCWW5NXXxcQN+qD3Y5QmtNdHf30/fKD72qcJ31iHI/lKq5u CuT8FSaFu5FUV4KZGoUCiG/5WFOohwvjd7b6ntdDSA1ZlpC3R+ojwqQhyiSLahoOGd2b ZZCHaltAp7PyvCXNGAu7MH4pC0uh13BGgZnwc8jnxyfXsXD/R44p/hj4jIFGuPghgnCL Q2fmlzwz39QcMgAZemn+4ZodW3qtJXYrCbdHxfQQ8ZNN3ldtck6wOjowqyGtWRpHWEqW yzOtiG707jK0RIT2Daud/EjRUVjpRP8U05+RBUeurOQmEBdgusWyP9/8RFkEWHgyxLGW 8KDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=o9bkSze/Jy4nhBU2oLSmjW+O6jzvUUWJwj1ZygkK2Ps=; b=FGPnX///MPodvjL127kxgOFUKjPEyt1khQUsdtLZM9t49ImlRB3Yb4MPwxZIjv3Mdz fc6C/0ZzaLvR3jrUAoBxRyY1bClo5zxnc9ciq07EVWnfg5NQh55XFETg2CGwbhzhZLyI UQ1KbOXeLDTXZwno9b9HAkAZ1jv5WPX4UkFSGBH5faxvIbrcevGYMuI1tIcwqZByl4C5 4OMQxdoA5Pty4mYjDBJFph2WpkxSLZVVOQdcegVHUz5TRxWnjOMIMNpB1AHpnJh0zF+J igJEJu40FcKIWbwH839DZc5wQvvzWISAmEFNB0tHezhdcaBb+uIt7dw4LqBmMjTYfZAA LDRQ== X-Gm-Message-State: AOAM532R1j1M9Uw2HRHAxQJznk4E3HTghKTg4n+KvnbT6NrCNxmisITI AmWlATxu5K7Kx3hvqFbaCz+zWg== X-Google-Smtp-Source: ABdhPJxOOileaillRWYcHrJ6fa6cVyY83bBxGiKESK85ieYWtHbcYLdwrwMFC6or9e4YzZaIpGM+yg== X-Received: by 2002:a17:90a:345:: with SMTP id 5mr14359527pjf.189.1634143941868; Wed, 13 Oct 2021 09:52:21 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id e15sm66983pfc.134.2021.10.13.09.52.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 09:52:21 -0700 (PDT) Date: Wed, 13 Oct 2021 09:52:18 -0700 From: Stephen Hemminger To: Bruce Richardson , Ferruh Yigit , "Burakov, Anatoly" Cc: dev@dpdk.org Message-ID: <20211013095218.6ced99fa@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] DPDK driver autoloading? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" The current DPDK PCI code requires that all PMD shared libraries be loaded before probing. This a burden for applications that run on multiple platforms and a total mess for Linux distributions. A better way would be to have the bus scanning code autoload drivers as needed. This would work like the Linux kernel module loading. Could existing pmdinfogen mechanism be extended to to do this?