From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id 0F60B68BD for ; Thu, 10 Apr 2014 15:58:20 +0200 (CEST) Received: by mail-wi0-f173.google.com with SMTP id z2so10736493wiv.6 for ; Thu, 10 Apr 2014 06:59:58 -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=QUpQ+Y37RoZScwO9lJEFtaazW8EilUHCvNhymq2Q1Ik=; b=OTfXUcB8JnGXr/CGUWvAiNCdjcSSLY7qfmGo6X9cEO5rwHiUqp6q3HIwYzWWxWDSN7 XEpJ4xPmm2Sin1vJ3elszAYN0VGnmLrinS8nRh5/sEkrdDf0vmDrbbvqhQI/IQIR9qyJ OReQ2zHNHI9bFiukZsE3D+SB/Z0UOL61HWsUqcmL8VaL9xjDLg5WvQ/B2bgd2cro1HO1 wYtVSzNeTUCbJJrqK39dRUVCi8xb2jF7WW3lGRQjKOIZidShvFdcWPjbfhBZVy2OOoD9 CuW6XpF37mamqDMno183JrzUztHoIBNRbW1IFZb9+V4aIGayefyUuWdhkeFnGqqHlh49 YTkA== X-Gm-Message-State: ALoCoQneUmAGPxPLS9WI7ZOhGfQhSyMuOhuGfcyRwKMZEV/HbCg0JDWuGbFbVD5UB1lORBXo8qd8 X-Received: by 10.180.109.231 with SMTP id hv7mr43367336wib.38.1397138398179; Thu, 10 Apr 2014 06:59:58 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id n5sm11245859wiz.1.2014.04.10.06.59.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Apr 2014 06:59:57 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Date: Thu, 10 Apr 2014 15:59:57 +0200 Message-ID: <1952024.OtqJB7P2z9@xps13> Organization: 6WIND User-Agent: KMail/4.12.3 (Linux/3.13.7-1-ARCH; KDE/4.12.3; x86_64; ; ) In-Reply-To: <1393676055-17655-1-git-send-email-olivier.matz@6wind.com> References: <5311CC3E.1010804@6wind.com> <1393676055-17655-1-git-send-email-olivier.matz@6wind.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 v2 02/11] devices-args: introduce rte_devargs in eal 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: Thu, 10 Apr 2014 13:58:21 -0000 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