vhost: rename ops registering function
authorHuawei Xie <huawei.xie@intel.com>
Wed, 8 Oct 2014 18:54:50 +0000 (02:54 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 13 Oct 2014 17:16:54 +0000 (19:16 +0200)
commit28689ff04d1d99f69b3ae7d6ed343a8884883bc5
tree7515b312c4bba71edbedf56358e0ef074120fa90
parente5c2ded5033f0375eeca80950ac4969b636dcf0f
vhost: rename ops registering function

Rename init_virtio_net as rte_vhost_callback_register API.
rte_vhost_callback_register register the callbacks called when a
vhost device is created and ready to be added to data processing core
or is de-actived by guest.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
lib/librte_vhost/rte_virtio_net.h
lib/librte_vhost/virtio-net.c