From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 02/11] devices-args: introduce rte_devargs in eal Date: Thu, 10 Apr 2014 15:59:57 +0200 Message-ID: <1952024.OtqJB7P2z9@xps13> References: <5311CC3E.1010804@6wind.com> <1393676055-17655-1-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Olivier Matz Return-path: In-Reply-To: <1393676055-17655-1-git-send-email-olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2014-03-01 13:14, Olivier Matz: > This commit introduces a new API for storing device arguments given by > the user. It only adds the framework and the test. The modification of > EAL to use this new module is done in next commit. > > The final goals: > > - unify pci-blacklist, pci-whitelist, and virtual devices arguments > in one file > - allow to register a virtual device driver from a dpdk extension > provided as a shared library. For that we will require to remove > references to rte_pmd_ring and rte_pmd_pcap in argument parsing code > - clarify the API of eal_common_whitelist.c, and rework its code that is > often complex for no reason. > - support arguments for PCI devices and possibly future non-PCI devices > (other than virtual devices) without effort. > > Test result: > > echo 100 > > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages echo > 100 > > /sys/devices/system/node/node1/hugepages/hugepages-2048kB/nr_hugepages > ./app/test -c 0x15 -n 3 -m 64 > RTE>>eal_flags_autotest > [...] > Test OK > > Signed-off-by: Olivier Matz Acked-by: Thomas Monjalon Applied for version 1.6.0r2 with title "devargs: introduce API and test" -- Thomas