]> git.proxmox.com Git - mirror_qemu.git/commit
vdpa: Restore vlan filtering state
authorHawkins Jiawei <yin31149@gmail.com>
Sun, 23 Jul 2023 12:09:13 +0000 (20:09 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 4 Oct 2023 08:54:10 +0000 (04:54 -0400)
commit8f7e9967484dec2a727c24a509962ca3a4f5dad4
tree86dd76379dcbb90a288a65e33bec78239437e550
parente19751a32f140a232fafb037e703abb961a94abb
vdpa: Restore vlan filtering state

This patch introduces vhost_vdpa_net_load_single_vlan()
and vhost_vdpa_net_load_vlan() to restore the vlan
filtering state at device's startup.

Co-developed-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Message-Id: <e76a29f77bb3f386e4a643c8af94b77b775d1752.1690106284.git.yin31149@gmail.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-vdpa.c