From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=kuCKEyr779hjwD+7cyKukf4bCLIbtmeCs6yp1py1vec=; b=lga8OME1Uf65wvIpNf6ySsvXlHRo+FBy1bm08G+iLz9IbW3OLkYy05Y27Fm5Pws26x wFs6Y0x5DZbBhkr5sCOtK3L460IDqK6TiA3j/EdjKWmAwdP52g4Cya2q55G01oSSTM4p lcBOq7MlxMofbzaBHPrvFGX6k2vxBHzGaHwA/fC5JJuQQ1K/g34TKmKPY7caEfxGiiWR 55pl9M89dv5h1+IL1uXmzftI2juUvh9jizEY7sKxZ/76H2zfvhzSg8xrqV8rCjg3ajeF x977Wbmc1ESDpJdUpBkZTZBRqYKmmcDt7BvOzyhzN4aw/AI+lTrqtlc155/FgV4+8ppv 9N2Q== X-Gm-Message-State: ALoCoQmazpaQB00q6ayoTnhyErw/MUtg7MRvQefQqVKw1c9Lt8OCwnKcN6PED30Zq4y/e1df4Py6 X-Received: by 10.194.87.74 with SMTP id v10mr8924658wjz.114.1445417161211; Wed, 21 Oct 2015 01:46:01 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id hk5sm8946895wjb.6.2015.10.21.01.46.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Oct 2015 01:46:00 -0700 (PDT) From: Thomas Monjalon To: Panu Matilainen Date: Wed, 21 Oct 2015 10:44:56 +0200 Message-ID: <3437988.28W6rqn9YS@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <0df011be4afdecedb49b44e583c128e8343e621a.1445415982.git.pmatilai@redhat.com> References: <0df011be4afdecedb49b44e583c128e8343e621a.1445415982.git.pmatilai@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 2/2] eal: add support for driver directory concept X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 08:46:01 -0000 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?