]> git.ipfire.org Git - thirdparty/qemu.git/commit
vdpa: Restore packet receive filtering state relative with _F_CTRL_RX_EXTRA feature
authorHawkins Jiawei <yin31149@gmail.com>
Sat, 8 Jul 2023 09:24:51 +0000 (17:24 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jul 2023 22:59:32 +0000 (18:59 -0400)
commit4fd180c7bb476d0793f3849ae4e6c0f932b6e3ab
tree21070415acbdd478360f67eb6f30ac2e6ba415aa
parentea6eec497921f9c0db259445fc44429a743d0665
vdpa: Restore packet receive filtering state relative with _F_CTRL_RX_EXTRA feature

This patch refactors vhost_vdpa_net_load_rx() to
restore the packet receive filtering state in relation to
VIRTIO_NET_F_CTRL_RX_EXTRA feature at device's startup.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Message-Id: <abddc477a476f756de6e3d24c0e9f7b21c99a4c1.1688797728.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