net/virtio-user: support to report net status
authorJianfeng Tan <jianfeng.tan@intel.com>
Fri, 31 Mar 2017 19:44:57 +0000 (19:44 +0000)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Sat, 1 Apr 2017 08:36:17 +0000 (10:36 +0200)
commit35c4f8554833962d58618aba2323e21b70082a9c
tree3a2c9e235628dcf8bd77654ba046f90cd90ca28a
parent3d4fb6fd250577411f904e02bfd5b703b69fbddf
net/virtio-user: support to report net status

Originally, we did not report support of VIRTIO_NET_F_STATUS.
This feature is not reported by vhost backend, instead, it
is added/removed by QEMU in virtio PCI case.

We report the support of this feature so that following patch
will depend on this feature to enable LSC interrupt.

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
drivers/net/virtio/virtio_user/virtio_user_dev.c
drivers/net/virtio/virtio_user_ethdev.c