net: introduce control client
commit2f849dbdb2ab2c70715520a8129524f197b9a8ba
authorJason Wang <jasowang@redhat.com>
Wed, 20 Oct 2021 04:55:55 +0000 (20 12:55 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Oct 2021 08:44:05 +0000 (20 04:44 -0400)
tree442dc7b43b2e65a732a4cd5d29b2fa0cb6fb14a2
parent654790b65b8435a7d409b1873b566e8db9e91b9b
net: introduce control client

This patch introduces a boolean for the device has control queue which
can accepts control command via network queue.

The first user would be the control virtqueue support for vhost.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20211020045600.16082-6-jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/net/net.h
net/net.c