From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=RpOD8MK3saAfBIkMYjj058wEgaI1tKBltiV6YaNr+UU=; b=hlVh+2cnTzezyysSQBH4S2c/948Lru/FrlZGFInybuNLv7nplPkCDIOg/3xG45ahET Or8vnjFjjfIHb/ODNYNcqJuPXhdKMi+wFlVRsQRkn5YHg6Ir3SN7H3aTYiMAhi1jKmmb xQ24NXM91C1H2jMQKJOSlmT9/1OvIn0rJQJsUNBpvjWGYHg4PqIH0P3siOawVCFyPz7N hFAq02LKfCao3sxHeKZP0g/CbZoLP+YrF5kKda4QrBxcC1nhVpEnvxeJQwC/foOMhVxN VWftCoVMLfiXoOEO0vn6vBJMKwI5hmK/GhVraowe0gcyZa9R+0XDf2R+tKeNoZss6lC0 wh9A== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=RpOD8MK3saAfBIkMYjj058wEgaI1tKBltiV6YaNr+UU=; b=XrZ4KswSuuIT5DpMT+ICEqC3239yPn2QREg88H2wTMk5beSSJtMGiNcNJur/FFhD6q 9HTVMRklggWfmJP/j8d5bp9NiHGeRNNH0iXb9QkVAj+jbs6dBqq77MyyIXqf4ERta+or IEFIQrCcF4baRUG0LJCGimMomK4BnQdCTFH68oSa/mca2qeBNe4RyepERdbl9Jg++Mbu 401LfltoHGClSZLDhIuPwKx4dgSTMAe+OA9/sjnG5A5jjlCcUJmpCLJr2TMh6KKt1zhL ZDzi+w+KBKvfLKl6I9LHGZltxBd/L+7tHVRfH5S9SEYuZJQZjKuKzY3zVJbJApXPXxhu YcUQ== X-Gm-Message-State: ALyK8tL5pjINPXfNgogBIKzVjPAlHINOTUkBpWkjrBEjXZ80d3TEjQm2pPE9hAf5ZE3XLgSg X-Received: by 10.28.20.139 with SMTP id 133mr10565817wmu.19.1466632053730; Wed, 22 Jun 2016 14:47:33 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id i14sm729200wmg.7.2016.06.22.14.47.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jun 2016 14:47:32 -0700 (PDT) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org, Declan Doherty Date: Wed, 22 Jun 2016 23:47:32 +0200 Message-ID: <2397168.kJxGYnUG6c@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-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" 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: Wed, 22 Jun 2016 21:47:34 -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. 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.