[dpdk-dev] [PATCH 0/3] ethdev: add helper functions to get eth_dev and dev private data

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Mar 10 01:00:28 CET 2016


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.


More information about the dev mailing list