[dpdk-dev] [PATCH 03/14] eal/common: introduce union rte_device and related

2016-01-13 Thread Jan Viktorin
On Wed, 13 Jan 2016 14:01:19 + Bruce Richardson wrote: > On Mon, Jan 04, 2016 at 09:08:15PM +0100, Jan Viktorin wrote: > > The union rte_device can be used in situations where we want to work with > > all > > devices without distinguishing among bus-specific features (PCI, ...). > > The targ

[dpdk-dev] [PATCH 03/14] eal/common: introduce union rte_device and related

2016-01-13 Thread Bruce Richardson
On Wed, Jan 13, 2016 at 03:12:27PM +0100, Jan Viktorin wrote: > On Wed, 13 Jan 2016 14:01:19 + > Bruce Richardson wrote: > > > On Mon, Jan 04, 2016 at 09:08:15PM +0100, Jan Viktorin wrote: > > > The union rte_device can be used in situations where we want to work with > > > all > > > devices

[dpdk-dev] [PATCH 03/14] eal/common: introduce union rte_device and related

2016-01-13 Thread Bruce Richardson
On Mon, Jan 04, 2016 at 09:08:15PM +0100, Jan Viktorin wrote: > The union rte_device can be used in situations where we want to work with all > devices without distinguishing among bus-specific features (PCI, ...). > The target device type can be detected by reading the magic. > > Also, the macros

[dpdk-dev] [PATCH 03/14] eal/common: introduce union rte_device and related

2016-01-04 Thread Jan Viktorin
The union rte_device can be used in situations where we want to work with all devices without distinguishing among bus-specific features (PCI, ...). The target device type can be detected by reading the magic. Also, the macros RTE_DEVICE_DECL and RTE_DEVICE_PTR_DECL are introduced to provide a gen