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

2020-10-26 Thread Jason Wang
- Original Message - > Hi jason > > > On Mon, Oct 26, 2020 at 11:20 AM Jason Wang wrote: > > > > > On 2020/10/26 上午10:43, Jason Wang wrote: > > > > > > On 2020/10/23 下午5:15, Cindy Lu wrote: > > >> Sometime vdpa get an all 0 mac address from the hardware, this will > > >> cause the traff

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

2020-10-25 Thread Cindy Lu
Hi jason On Mon, Oct 26, 2020 at 11:20 AM Jason Wang wrote: > > On 2020/10/26 上午10:43, Jason Wang wrote: > > > > On 2020/10/23 下午5:15, 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. > >

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

2020-10-25 Thread Jason Wang
On 2020/10/26 上午10:43, Jason Wang wrote: On 2020/10/23 下午5:15, 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:

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

2020-10-25 Thread Jason Wang
On 2020/10/23 下午5:15, 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 --- hw/net/virtio-net.c | 7 +++

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

2020-10-23 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