[dpdk-dev] [PATCH v5 00/20] Decouple ethdev from PCI device

Ferruh Yigit ferruh.yigit at intel.com
Tue Jan 3 13:24:43 CET 2017

On 12/25/2016 10:33 PM, Thomas Monjalon wrote:
> 2016-12-23 16:57, Jan Blunck:
>> This repost addresses the review comments of Thomas Monjalon to completely
>> remove the ethdev helper to further decrease the coupling of the ethdev and
>> the eal layers. This required me to squash together all patches using the
>> rte_eth_dev_to_pci() helper into "Decouple from PCI device" patch. As
>> discussed privately I'll keep the PCI information in rte_eth_dev_info
>> untouched.
> Applied with some trivial fixes, thanks

Getting following build error for mlx5 [1], it is mainly because verbs.h
also using container_of macro.

In file included from
                 from .../x86_64-native-linuxapp-gcc/include/rte_ether.h:52,
                 from .../drivers/net/mlx5/mlx5_trigger.c:38:
/usr/include/infiniband/verbs.h: In function ‘verbs_get_device’:
.../x86_64-native-linuxapp-gcc/include/rte_common.h:350:40: error:
initialization discards ‘const’ qualifier from pointer target type
    typeof(((type *)0)->member) *_ptr = (ptr); \

More information about the dev mailing list