numam-dpdk/lib/librte_vhost
Yuanhan Liu e2a1dd1275 vhost: rename device id variable
I failed to figure out what does "fh" mean here for a long while.
The only guess I could have had is "file handle". So, you get the
point that it's not well named.

I then figured it out that "fh" is derived from the fuse lib, and
my above guess is right. However, device_fh represents a virtio
net device ID. Therefore, here I rename it to vid (Virtio-net device
ID, or Vhost device ID; choose one you prefer) to make it easier for
understanding.

This name (vid) then will be considered to the only interface to
applications. That's another reason to do the rename: it's our
interface, make it more understandable.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Tested-by: Rich Lane <rich.lane@bigswitch.com>
Acked-by: Rich Lane <rich.lane@bigswitch.com>
2016-06-22 09:01:25 +02:00
..
eventfd_link vhost: fix kernel module insertion 2015-11-24 21:34:11 +01:00
libvirt vhost: fix qemu shutdown 2015-09-24 14:57:36 +02:00
vhost_cuse vhost: rename device id variable 2016-06-22 09:01:25 +02:00
vhost_user vhost: rename device id variable 2016-06-22 09:01:25 +02:00
Makefile mk: fix vhost shared library dependencies 2016-03-13 20:27:26 +01:00
rte_vhost_version.map vhost: cleanup unix socket 2015-06-30 17:49:08 +02:00
rte_virtio_net.h vhost: rename device id variable 2016-06-22 09:01:25 +02:00
vhost_rxtx.c vhost: rename device id variable 2016-06-22 09:01:25 +02:00
vhost-net.h vhost: rename device id variable 2016-06-22 09:01:25 +02:00
virtio-net.c vhost: rename device id variable 2016-06-22 09:01:25 +02:00
virtio-net.h vhost: implement cuse memory table 2015-02-24 01:38:14 +01:00