vhost: declare backend with int type
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Fri, 29 Apr 2016 03:48:08 +0000 (11:48 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 22 Jun 2016 04:10:54 +0000 (06:10 +0200)
commit092f1c2c77d1818a2534578379bd439699cc2296
treed425c901dcc4e93eaa71b1344ba61ee58cd65c16
parent97daf19e99d54c47867b32927c1d7b93b3f63e27
vhost: declare backend with int type

It's an fd; so define it as "int", which could also save the unncessary
(int) case.

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>
lib/librte_vhost/rte_virtio_net.h
lib/librte_vhost/virtio-net.c