From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by dpdk.org (Postfix) with ESMTP id 38E2D68D1 for ; Fri, 11 Apr 2014 15:21:53 +0200 (CEST) Received: by mail-we0-f172.google.com with SMTP id t61so5415199wes.17 for ; Fri, 11 Apr 2014 06:23:30 -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=N/6VP/2Tujre4fYFRiJTN27BhKSdiOIwHZVoI0N+bkY=; b=BjOPVBDAvsQ/NSqQJZyVPKJMtRfkQ4utREUOoZm8mXDY53SwP4fEo3OabDJ1L7GYZO 3N2YLbKj9g2OI8jSxsn20+9ryAQ3dvcmWsX+DQGsYIO/mI/Lq4K0ar8rx5Q8umXrz0pz e6Fp1TDeDnt8ParU/4vfZckf/VAusBS1NFRCWdCZCdODeQ3JPfeBtMSOVKQiX79HVuCp M9Uvwg2+IMtUbKAQ13fQ0M1039NwO7MhfUxRBbcTAWWIlaxjZCUtiEfBvm0hzkOrM0eS Kemh7sAVNmABW3AlxUnjd40iDQvKdHzb2sK5q5D/dzqt7EGyiRlvha/8vE6J+QnLgcK6 IB5g== X-Gm-Message-State: ALoCoQnp0N1SMpIblWVJUH5hblBM+/qgco9pRSStH4hpxnhNgyOynBV7d2PPG2Iof1dbciqfj9mM X-Received: by 10.194.63.46 with SMTP id d14mr20803441wjs.24.1397222610133; Fri, 11 Apr 2014 06:23:30 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id fi2sm4462875wic.15.2014.04.11.06.23.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Apr 2014 06:23:28 -0700 (PDT) From: Thomas Monjalon To: "John W. Linville" Date: Fri, 11 Apr 2014 15:23:27 +0200 Message-ID: <5680509.vJ63cQx4Bi@xps13> Organization: 6WIND User-Agent: KMail/4.12.3 (Linux/3.13.7-1-ARCH; KDE/4.12.3; x86_64; ; ) In-Reply-To: <1397140907-17856-1-git-send-email-linville@tuxdriver.com> References: <1397140907-17856-1-git-send-email-linville@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] rte_pmd_init_all: initialize non-PCI PMDs provided by 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: Fri, 11 Apr 2014 13:21:53 -0000 Hi John, 2014-04-10 10:41, John W. Linville: > These PMDs were being initialized by the EAL layer, but many apps were > relying on the return value of rte_pmd_init_all to indicate that > ethernet interfaces were available for use. Move the initialization of > the non-PCI PMDs to this centralized function to have all of the PMDs > treated equally. > > Signed-off-by: John W. Linville We are using constuctors to initialize these drivers. See the patches from Olivier Matz. The function rte_pmd_init_all() should be removed. So this patch won't be applied. Your help to continue cleaning this area is welcome. -- Thomas