Skip to content
Snippets Groups Projects
Commit cd5be582 authored by Amos Kong's avatar Amos Kong Committed by Anthony Liguori
Browse files

e1000/rtl8139: update HMP NIC when every bit is written


We currently just update the HMP NIC info when the last bit of macaddr
is written. This assumes that guest driver will write all the macaddr
from bit 0 to bit 5 when it changes the macaddr, this is the current
behavior of linux driver (e1000/rtl8139cp), but we can't do this
assumption.

The macaddr that is used for rx-filter will be updated when every bit
is changed. This patch updates the e1000/rtl8139 nic to update HMP NIC
info when every bit is changed. It will be same as virtio-net.

Signed-off-by: default avatarAmos Kong <akong@redhat.com>
Reviewed-by: default avatarAlex Williamson <alex.williamson@redhat.com>
Message-id: 1383650238-16015-1-git-send-email-akong@redhat.com
Signed-off-by: default avatarAnthony Liguori <aliguori@amazon.com>
parent fe2dafa0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment