vhost: remove dependency on device private field
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 10 May 2016 23:02:58 +0000 (07:02 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 22 Jun 2016 07:07:36 +0000 (09:07 +0200)
commit16ae8abe1cb8b545d4ca5cdee0e3db32c6b8b498
treeaf7b02cbb603daebc0b6a0d82a83daa339888a3a
parenta67f286a6596e6269bb3b83e01f9b42bb5544b46
vhost: remove dependency on device private field

This change could let us avoid the dependency of "virtio_net"
struct, to prepare for the ABI refactoring.

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>
drivers/net/vhost/rte_eth_vhost.c
examples/tep_termination/main.c
examples/tep_termination/main.h
examples/vhost/main.c