From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 2/2] eal: add support for driver directory concept Date: Wed, 21 Oct 2015 10:44:56 +0200 Message-ID: <3437988.28W6rqn9YS@xps13> References: <0df011be4afdecedb49b44e583c128e8343e621a.1445415982.git.pmatilai@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Panu Matilainen Return-path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by dpdk.org (Postfix) with ESMTP id 5BCC1936C for ; Wed, 21 Oct 2015 10:46:01 +0200 (CEST) Received: by wicll6 with SMTP id ll6so63538238wic.1 for ; Wed, 21 Oct 2015 01:46:01 -0700 (PDT) In-Reply-To: <0df011be4afdecedb49b44e583c128e8343e621a.1445415982.git.pmatilai@redhat.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-10-21 11:29, Panu Matilainen: > Add a new EAL option -D for loading all drivers from a given directory. > Additionally a default driver directory can be set in build-time > configuration, in which case it will be always be used when EAL is > initialized (but can be overridden or disabled with -D). [...] > @@ -955,6 +1004,7 @@ eal_common_usage(void) > " --"OPT_SYSLOG" Set syslog facility\n" > " --"OPT_LOG_LEVEL" Set default log level\n" > " -d LIB.so Add driver (can be used multiple times)\n" > + " -D DIRECTORY Add driver directory)\n" Another idea: instead of adding a new option, why not make -d able to deal with directories?