aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio-net.h
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@hp.com>2009-06-05 14:47:13 -0600
committerMark McLoughlin <markmc@redhat.com>2009-06-09 11:38:50 +0100
commit2d9aba3961dd6c18cdafecc8ce31b330b45e2723 (patch)
tree9cdf576d1579a85d85601d3e10ef92b33ea322ba /hw/virtio-net.h
parent8fd2a2f1a9048b9e37a898c2a5e9ef59d0c1a095 (diff)
virtio-net: MAC filter optimization
The MAC filter table is received from the guest as two separate buffers, one with unicast entries, the other with multicast entries. If we track the index dividing the two sets, we can avoid searching the part of the table with the wrong type of entries. We could store this index as part of the save image, but its trivially easy to discover it on load. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Diffstat (limited to 'hw/virtio-net.h')
0 files changed, 0 insertions, 0 deletions