net/virtio-user: send kick notify backend on init
authorSteven Luong <sluong@cisco.com>
Tue, 1 Aug 2017 16:17:36 +0000 (09:17 -0700)
committerYuanhan Liu <yliu@fridaylinux.org>
Tue, 10 Oct 2017 13:48:53 +0000 (15:48 +0200)
commit924da8f1c4f50ac2c45a2335cb2d5ff9616fc8e9
tree6540336c47b28459adb0877903d394049e81da94
parente5c494a7a22b6db986ac64a6ca85d3fe5e4418d0
net/virtio-user: send kick notify backend on init

Acccording to the vhost-user spec [0], client must start ring
upon receiving a kick (that is, detecting that file descriptor
is reachable) on the descriptor specified by VHOST_USER_SET_VRING_KICK.

The code sends a kick to the rx queue. It is missing sending a
kick for the tx queue. This patch is to add the missing code to
comply with the spec.

[0]: https://fossies.org/linux/qemu/docs/specs/vhost-user.txt

Signed-off-by: Steven Luong <sluong@cisco.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
drivers/net/virtio/virtio_ethdev.c