eal: modify device event process function
authorJeff Guo <jia.guo@intel.com>
Thu, 4 Oct 2018 06:44:41 +0000 (14:44 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 15 Oct 2018 20:55:55 +0000 (22:55 +0200)
commit89ecd110524dda2ae7d31446eb699a257c76f6cd
tree7d83a93eb0f8a2f76fdfd51e5c3f8c58b2b434fe
parent0eb8a1c4c786133d5fae271a954d7cc42edf5888
eal: modify device event process function

This patch modify the device event callback process function name to be
more explicit, change the variable to be const. And more, because not only
eal device helper will use the callback, but also vfio bus will use the
callback to handle hot-unplug, so exposure the API out from private eal.
The bus drivers and eal device would directly use this API to process
device event callback.

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
app/test-pmd/testpmd.c
lib/librte_eal/bsdapp/eal/eal_dev.c
lib/librte_eal/common/eal_common_dev.c
lib/librte_eal/common/eal_private.h
lib/librte_eal/common/include/rte_dev.h
lib/librte_eal/linuxapp/eal/eal_dev.c
lib/librte_eal/rte_eal_version.map