Re: [RFC] virtio-net: check the mac address for vdpa device

2024-07-08 Thread Jason Wang
On Tue, Jul 9, 2024 at 10:56 AM Cindy Lu wrote: > > On Tue, 9 Jul 2024 at 10:47, Jason Wang wrote: > > > > On Tue, Jul 9, 2024 at 10:41 AM Cindy Lu wrote: > > > > > > On Tue, 9 Jul 2024 at 10:33, Jason Wang wrote: > > > > > > > > On Tue, Jul 9, 2024 at 10:27 AM Cindy Lu wrote: > > > > > > > >

Re: [RFC] virtio-net: check the mac address for vdpa device

2024-07-08 Thread Cindy Lu
On Tue, 9 Jul 2024 at 10:47, Jason Wang wrote: > > On Tue, Jul 9, 2024 at 10:41 AM Cindy Lu wrote: > > > > On Tue, 9 Jul 2024 at 10:33, Jason Wang wrote: > > > > > > On Tue, Jul 9, 2024 at 10:27 AM Cindy Lu wrote: > > > > > > > > When using VDPA device, we should verify whether the MAC address

Re: [RFC] virtio-net: check the mac address for vdpa device

2024-07-08 Thread Jason Wang
On Tue, Jul 9, 2024 at 10:41 AM Cindy Lu wrote: > > On Tue, 9 Jul 2024 at 10:33, Jason Wang wrote: > > > > On Tue, Jul 9, 2024 at 10:27 AM Cindy Lu wrote: > > > > > > When using VDPA device, we should verify whether the MAC address in the > > > hardware matches the MAC address from the QEMU comm

Re: [RFC] virtio-net: check the mac address for vdpa device

2024-07-08 Thread Cindy Lu
On Tue, 9 Jul 2024 at 10:33, Jason Wang wrote: > > On Tue, Jul 9, 2024 at 10:27 AM Cindy Lu wrote: > > > > When using VDPA device, we should verify whether the MAC address in the > > hardware matches the MAC address from the QEMU command line. If not, > > we will need to update the related inform

Re: [RFC] virtio-net: check the mac address for vdpa device

2024-07-08 Thread Jason Wang
On Tue, Jul 9, 2024 at 10:27 AM Cindy Lu wrote: > > When using VDPA device, we should verify whether the MAC address in the > hardware matches the MAC address from the QEMU command line. If not, > we will need to update the related information. > > Signed-off-by: Cindy Lu This seems to be a work

[RFC] virtio-net: check the mac address for vdpa device

2024-07-08 Thread Cindy Lu
When using VDPA device, we should verify whether the MAC address in the hardware matches the MAC address from the QEMU command line. If not, we will need to update the related information. Signed-off-by: Cindy Lu --- hw/net/virtio-net.c | 15 +++ 1 file changed, 11 insertions(+), 4 d