eal: introduce device class abstraction
authorGaetan Rivet <gaetan.rivet@6wind.com>
Wed, 11 Jul 2018 21:44:57 +0000 (23:44 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 15 Jul 2018 21:42:53 +0000 (23:42 +0200)
commitd70f8448d01fff3585790861e822252f75131767
treedc4e3275638077025b7baa86332f1b428836f4ba
parenta671f01fcc65a884122bf69a71553c533649eebb
eal: introduce device class abstraction

This abstraction exists since the infancy of DPDK.
It needs to be fleshed out however, to allow a generic
description of devices properties and capabilities.

A device class is the northbound interface of the device, intended
for applications to know what it can be used for.

It is conceptually just above buses.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
lib/librte_eal/bsdapp/eal/Makefile
lib/librte_eal/common/Makefile
lib/librte_eal/common/eal_common_class.c [new file with mode: 0644]
lib/librte_eal/common/include/rte_class.h [new file with mode: 0644]
lib/librte_eal/common/include/rte_common.h
lib/librte_eal/common/meson.build
lib/librte_eal/linuxapp/eal/Makefile
lib/librte_eal/rte_eal_version.map