]> git.ipfire.org Git - thirdparty/qemu.git/commit
vdpa: Restore packet receive filtering state relative with _F_CTRL_RX feature
authorHawkins Jiawei <yin31149@gmail.com>
Fri, 7 Jul 2023 15:27:30 +0000 (23:27 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jul 2023 22:59:32 +0000 (18:59 -0400)
commitb12f907eeaad7bd4d282502bd7f7773f95e1ee96
tree8ad876e88caddea7e86bebc787a25807f1462529
parent0ddcecb8f2e14b5aa6781ae3403ffa2ac4b25197
vdpa: Restore packet receive filtering state relative with _F_CTRL_RX feature

This patch introduces vhost_vdpa_net_load_rx_mode()
and vhost_vdpa_net_load_rx() to restore the packet
receive filtering state in relation to
VIRTIO_NET_F_CTRL_RX feature at device's startup.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Message-Id: <804cedac93e19ba3b810d52b274ca5ec11469f09.1688743107.git.yin31149@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-vdpa.c