Re: [PATCH v3] virtio-net: Add check for mac address while peer is vdpa

2020-10-30 Thread Cindy Lu
On Fri, Oct 30, 2020 at 4:55 PM Michael S. Tsirkin wrote: > > On Mon, Oct 26, 2020 at 02:21:26PM +0800, Cindy Lu wrote: > > Sometime vdpa get an all 0 mac address from the hardware, this will cause > > the traffic down > > So we add the check for this part. > > if we get an 0 mac address we will

Re: [PATCH v3] virtio-net: Add check for mac address while peer is vdpa

2020-10-30 Thread Michael S. Tsirkin
On Mon, Oct 26, 2020 at 02:21:26PM +0800, Cindy Lu wrote: > Sometime vdpa get an all 0 mac address from the hardware, this will cause the > traffic down > So we add the check for this part. > if we get an 0 mac address we will use the default mac address instead > > Signed-off-by: Cindy Lu I wo

Re: [PATCH v3] virtio-net: Add check for mac address while peer is vdpa

2020-10-30 Thread Michael S. Tsirkin
On Mon, Oct 26, 2020 at 02:21:26PM +0800, Cindy Lu wrote: > Sometime vdpa get an all 0 mac address from the hardware, this will cause the > traffic down > So we add the check for this part. > if we get an 0 mac address we will use the default mac address instead > > Signed-off-by: Cindy Lu > ---

[PATCH v3] virtio-net: Add check for mac address while peer is vdpa

2020-10-25 Thread Cindy Lu
Sometime vdpa get an all 0 mac address from the hardware, this will cause the traffic down So we add the check for this part. if we get an 0 mac address we will use the default mac address instead Signed-off-by: Cindy Lu --- hw/net/virtio-net.c | 7 ++- 1 file changed, 6 insertions(+), 1 de