virtio-net: Expose MAC_TABLE_ENTRIES
commit6758c01f054c2a842d41d927d628b09f649d3254
authorEugenio Pérez <eperezma@redhat.com>
Wed, 20 Jul 2022 06:59:27 +0000 (20 08:59 +0200)
committerJason Wang <jasowang@redhat.com>
Wed, 20 Jul 2022 08:58:08 +0000 (20 16:58 +0800)
treef1d828605c106df92b9d8612012e0642ee9d3b56
parent009c2549bb9dc7f7061009eb87f2a53d4b364983
virtio-net: Expose MAC_TABLE_ENTRIES

vhost-vdpa control virtqueue needs to know the maximum entries supported
by the virtio-net device, so we know if it is possible to apply the
filter.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/virtio-net.c
include/hw/virtio/virtio-net.h