]> git.proxmox.com Git - mirror_qemu.git/commit - net/vhost-vdpa.c
vdpa: Restore MAC address filtering state
authorHawkins Jiawei <yin31149@gmail.com>
Fri, 7 Jul 2023 15:27:29 +0000 (23:27 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jul 2023 22:59:32 +0000 (18:59 -0400)
commit0ddcecb8f2e14b5aa6781ae3403ffa2ac4b25197
tree8cc7dc0bcef80a3ad884a60f80824204e901b792
parent2848c6aa7536fb48a57f38dabed1dce97fb45c6f
vdpa: Restore MAC address filtering state

This patch refactors vhost_vdpa_net_load_mac() to
restore the MAC address filtering state at device's startup.

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