From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id C60D52B9A for ; Thu, 10 Mar 2016 01:02:09 +0100 (CET) Received: by mail-wm0-f51.google.com with SMTP id l68so7288840wml.1 for ; Wed, 09 Mar 2016 16:02:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=jIhYjQI3SGA/WVxvW/XbwPMhdbmVn+RaLpQ8G02A+cc=; b=k3xgwOb6j9F3ndMbJLAqRfIIeYBSplj2ZPpKi406d3i5N46/+I5PAfj6x/VIf8rK3R ZTeXieuXhxcSNXtBoJeU0SREEY10EDKu9YyFIlcK3ts7lh+4b8dbdPOrP+nVfdqKtrn9 ClHJlh3FloF1Gek3PX8UXJUYCTSOI3ZIjbdJi7C/lSwjmpVdMGrA1S71rUTJaVnRdpb2 leQAN54beqfZpQZc27PyFZCeAgdD/9z2iDYxe6r9RTIHFFq5NZXgfbU9ZeYCF6UuKTmF Y08zogqtlOMUMuTDen/HTRKYogh94/Xu3gYo67L1IXXBVmlAe3SM4mhUPowKhtcxytKQ 9QTQ== 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; bh=jIhYjQI3SGA/WVxvW/XbwPMhdbmVn+RaLpQ8G02A+cc=; b=i5Fbg0+UNb3Ga63oWjSBeH/r/3+eZZ+V31tJfgsRHcyM8GLUo5wUImPkcPYNqsu2mB 1kbCUA9LwZ1PVpbjjefV7rUcplXlb8yA+14o2YV2oiQ3u5aLhtEo2ynC/ZorEJULv2gA eO5krlU/yc7aZZt1rmmFA4LgxNqfaxuzcQ1BvX4tOPzCba9p43inTgOOGOAh/RVIz9e0 VnZws2y8m1nSgveoVJnfW0s2wnAppwsBNuLBea83C9pJPgyMNdZwpqLj0lIB0AumTgRA kSTLXSKP1MJVNv/v3MmLjXLvmy7DLlC5/gTz3z1h4x8gHe6rWUeqdFucVbF2oAMpVw76 y2xg== X-Gm-Message-State: AD7BkJIUhT0fWIVvEOQnvLPExwqD+7rZojaMGIGRXybRw5q+khl6gV4uK4Nqky1g0DDNrlgX X-Received: by 10.194.62.179 with SMTP id z19mr414991wjr.96.1457568129641; Wed, 09 Mar 2016 16:02:09 -0800 (PST) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id cb2sm875760wjc.16.2016.03.09.16.02.08 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Mar 2016 16:02:08 -0800 (PST) From: Thomas Monjalon To: Ferruh Yigit Date: Thu, 10 Mar 2016 01:00:28 +0100 Message-ID: <2720050.b5GnNWtRZF@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1455718817-14171-1-git-send-email-ferruh.yigit@intel.com> References: <1455718817-14171-1-git-send-email-ferruh.yigit@intel.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 0/3] ethdev: add helper functions to get eth_dev and dev private data 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 Mar 2016 00:02:09 -0000 2016-02-17 14:20, Ferruh Yigit: > This is to provide abstraction and reduce global variable access. > > Global variable rte_eth_devices kept exported to not break ABI. > > Bonding driver not selected on purpose, just it seems it is using > rte_eth_devices heavily. > > There are a few more usage in drivers but they left as it is because they > are in fast path code. What is the benefit of these functions if you do not plan to remove the global variables later? Anyway this discussion targets the release 16.07.