c08a349006
device_fh repsents the device id for a specific virtio net device. Firstly, "int" would be big enough: we don't need 64 bit. Secondly, this could let us avoid the ugly "%" PRIu64 ".." stuff. And since ctx.fh is derived from device_fh, declare it as int, too. 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> |
||
---|---|---|
.. | ||
eventfd_link | ||
libvirt | ||
vhost_cuse | ||
vhost_user | ||
Makefile | ||
rte_vhost_version.map | ||
rte_virtio_net.h | ||
vhost_rxtx.c | ||
vhost-net.h | ||
virtio-net.c | ||
virtio-net.h |