From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: [PATCH 0/3] ethdev: add helper functions to get eth_dev and dev private data Date: Wed, 17 Feb 2016 14:20:14 +0000 Message-ID: <1455718817-14171-1-git-send-email-ferruh.yigit@intel.com> To: dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A1DF6C300 for ; Wed, 17 Feb 2016 15:20:25 +0100 (CET) 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" 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. Ferruh Yigit (3): ethdev: add helper functions to get eth_dev and dev private data app/test: use ethdev helper functions bonding: use ethdev helper functions app/test/test_link_bonding.c | 35 ++++++++------ app/test/virtual_pmd.c | 51 +++++++++------------ drivers/net/bonding/rte_eth_bond_8023ad.c | 10 ++-- drivers/net/bonding/rte_eth_bond_api.c | 76 +++++++++++++++---------------- drivers/net/bonding/rte_eth_bond_args.c | 13 ++++-- drivers/net/bonding/rte_eth_bond_pmd.c | 47 +++++++++++-------- lib/librte_ether/rte_ethdev.h | 44 ++++++++++++++++++ 7 files changed, 167 insertions(+), 109 deletions(-) -- 2.5.0