eal: add driver name alias
authorJan Blunck <jblunck@infradead.org>
Mon, 24 Oct 2016 16:22:21 +0000 (12:22 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 25 Oct 2016 16:49:18 +0000 (18:49 +0200)
commitd63eed6b2dcaf65c71d613f1f6dd172b697a1258
tree258f8008f84542b66377aec38fd87874b1605e94
parent2ba4dd4bc02c235e77481516d0b5cb377a525cf5
eal: add driver name alias

This adds infrastructure for drivers to allow being requested by an alias
so that a renamed driver can still get loaded by its legacy name.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Tested-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
lib/librte_eal/common/eal_common_vdev.c
lib/librte_eal/common/include/rte_dev.h
lib/librte_eal/common/include/rte_vdev.h