]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
plat/virtio_net: Notify host of RX bufs on start
authorTu Dinh Ngoc <dinhngoc.tu@irit.fr>
Mon, 28 Nov 2022 14:44:12 +0000 (15:44 +0100)
committerUnikraft <monkey@unikraft.io>
Fri, 3 Feb 2023 13:09:30 +0000 (13:09 +0000)
commit554e64136c136011d2a835c90909fd264721c1c8
tree05447444f287eceb7f72f9d3bec6241794dd1a3d
parentadd665661dec7b38e9db08a2e296d49e8167a44b
plat/virtio_net: Notify host of RX bufs on start

Currently, we don't notify the virtio-net device of available RX buffers
on driver start, meaning it might never send us incoming packets.  Make
sure that we send this notification once the driver has started.

Signed-off-by: Tu Dinh Ngoc <dinhngoc.tu@irit.fr>
Reviewed-by: Marco Schlumpp <marco@unikraft.io>
Reviewed-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #669
plat/drivers/virtio/virtio_net.c