virtio_net: introduce ability to get reply info from device
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>
Fri, 26 Apr 2024 03:39:21 +0000 (11:39 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 30 Apr 2024 08:51:32 +0000 (10:51 +0200)
commitaff5b0e605b06e3d803fb198425753c8391ffb3d
tree57cbf294576d5e2e83d51f8d61c0b950b0d18477
parentdd1941f801bc958d2ee13f5be8b38db6b034b806
virtio_net: introduce ability to get reply info from device

As the spec https://github.com/oasis-tcs/virtio-spec/commit/42f389989823039724f95bbbd243291ab0064f82

Based on the description provided in the above specification, we have
enabled the virtio-net driver to support acquiring some response
information from the device via the CVQ (Control Virtqueue).

Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/virtio_net.c