From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 0/3] ethdev: add helper functions to get eth_dev and dev private data Date: Wed, 22 Jun 2016 23:47:32 +0200 Message-ID: <2397168.kJxGYnUG6c@xps13> References: <1455718817-14171-1-git-send-email-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Declan Doherty To: Ferruh Yigit Return-path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id DF56C9AF8 for ; Wed, 22 Jun 2016 23:47:33 +0200 (CEST) Received: by mail-wm0-f41.google.com with SMTP id a66so23743945wme.0 for ; Wed, 22 Jun 2016 14:47:33 -0700 (PDT) In-Reply-To: <1455718817-14171-1-git-send-email-ferruh.yigit@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. The struct rte_eth_dev is marked internal. It is a good goal to remove access to the global array rte_eth_devices, but the fix must be in the code accessing it only (bonding). This patchset is rejected.