From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 510F7AF7F for ; Mon, 14 Apr 2014 16:39:52 +0200 (CEST) Received: by mail-wg0-f45.google.com with SMTP id l18so8133209wgh.4 for ; Mon, 14 Apr 2014 07:39:52 -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=tVwWNXSpavj5frpiOdYPIPu8bhw9K+2Ez0IvYLrW3Ec=; b=hfw8nb11qjzljHs+7bJrglhQ92nbHu520QDUB051Bg5S+MMieC6ezF9jp1P64bnSSP cH1WMGtHSB+f2xYaO2G9dwXiZ/5k+jGDE69Ytpd8sQFEIPNlpNOpQ94NV31p1VC+NeFS nee0aRP4qvepuxeScyc2Ius5OrRohrOSw9OtTABNQqTHr50z1O3KP0mE4iCuNswK42SZ fHVUJK3xJuniGgUZpzuNMjblfRi4Epjv/d9PY3NUXQoJvNpqEpLloQ55VgtzYevQZetj ATh6TTjAVnNUxXzEjaRJjrnwZ4xhRAgWF3IfmhI7bCNzQXxNwdU4JYW8FtF01nPmOLsw L6rg== X-Gm-Message-State: ALoCoQmzayETD8cgYVpD2GczAiKMV8VC7nvBsxk3hk9Y96FjyEwrUF0cahwx+RRLE56XM2Plv+sI X-Received: by 10.194.161.168 with SMTP id xt8mr33401263wjb.35.1397486392322; Mon, 14 Apr 2014 07:39:52 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id uy4sm11436499wjc.8.2014.04.14.07.39.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Apr 2014 07:39:51 -0700 (PDT) From: Thomas Monjalon To: "John W. Linville" Date: Mon, 14 Apr 2014 16:39:52 +0200 Message-ID: <7598226.ZWVFbVDckq@xps13> Organization: 6WIND User-Agent: KMail/4.12.3 (Linux/3.13.7-1-ARCH; KDE/4.12.3; x86_64; ; ) In-Reply-To: <20140414141030.GB27324@tuxdriver.com> References: <1460632.jOzC6OEr8u@xps13> <4737854.PZKb5HIIVb@xps13> <20140414141030.GB27324@tuxdriver.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 07/11 1/2] vdev: new registration API 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: Mon, 14 Apr 2014 14:39:52 -0000 Neil, John, I think we all want the same thing: simple and generic APIs. 2014-04-14 10:10, John W. Linville: > On Mon, Apr 14, 2014 at 03:45:31PM +0200, Thomas Monjalon wrote: > > From the user's point of view, it must be possible to create some virtual > > devices instead of using real ones. That's --vdev option. Then the device > > is handled as any other one thanks to its PMD. > > Except that it isn't, or at least it wasn't -- hence my patch to make > rte_pmd_init_all initialize _all_ PMDs rather than just the hardware > ones. I hope that will be remedied once all the dust settles with > the patchsets currently in flight. Yes there should not be any difference between PMDs for registering them. And rte_pmd_init_all is not needed. Please provide a patch to register all of them with constructors. -- Thomas