mem: add argument to memory event callback
authorAnatoly Burakov <anatoly.burakov@intel.com>
Thu, 3 May 2018 08:28:00 +0000 (09:28 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 8 May 2018 20:28:58 +0000 (22:28 +0200)
commit0256386dc43ce0f27f4c9d6bfa58c534aaf997e2
treed856287bd9f0dbe5c94d8298882f813583571624
parent5751ff40fed0f7dc359e983d80c768126328561f
mem: add argument to memory event callback

It may be useful to pass arbitrary data to the callback (such
as device pointers), so add this to the mem event callback API.

Suggested-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Tested-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/bus/fslmc/fslmc_vfio.c
lib/librte_eal/common/eal_common_memalloc.c
lib/librte_eal/common/eal_common_memory.c
lib/librte_eal/common/eal_memalloc.h
lib/librte_eal/common/include/rte_memory.h
lib/librte_eal/linuxapp/eal/eal_vfio.c