Re: VDPA MAC address problem

2025-03-23 Thread Jason Wang
On Fri, Mar 21, 2025 at 12:29 PM Konstantin Shkolnyy wrote: > > On 3/20/2025 20:22, Jason Wang wrote: > > On Fri, Mar 21, 2025 at 12:45 AM Konstantin Shkolnyy > > wrote: > >> > >> On 3/19/2025 19:58, Jason Wang wrote: > >>> On Thu, Mar 20, 2025 at 12:34 AM Konstantin Shkolnyy > >>> wrote: > >>

Re: VDPA MAC address problem

2025-03-23 Thread Jason Wang
On Thu, Mar 20, 2025 at 10:19 PM Konstantin Shkolnyy wrote: > > On 3/19/2025 19:58, Jason Wang wrote: > > Adding Cindy and Eugenio > > > > On Thu, Mar 20, 2025 at 12:34 AM Konstantin Shkolnyy > > wrote: > >> > >> I’m observing a problem while testing VDPA with Nvidia ConnectX-6 (mlx5) > >> on s3

Re: VDPA MAC address problem

2025-03-20 Thread Konstantin Shkolnyy
On 3/20/2025 20:22, Jason Wang wrote: On Fri, Mar 21, 2025 at 12:45 AM Konstantin Shkolnyy wrote: On 3/19/2025 19:58, Jason Wang wrote: On Thu, Mar 20, 2025 at 12:34 AM Konstantin Shkolnyy wrote: Upon reading this forum, I see that VHOST_VDPA_SET_CONFIG is “deprecated”, and so VIRTIO_NET_CT

Re: VDPA MAC address problem

2025-03-20 Thread Jason Wang
On Fri, Mar 21, 2025 at 12:45 AM Konstantin Shkolnyy wrote: > > On 3/19/2025 19:58, Jason Wang wrote: > > On Thu, Mar 20, 2025 at 12:34 AM Konstantin Shkolnyy > > wrote: > >> Upon reading this forum, I see that VHOST_VDPA_SET_CONFIG is > >> “deprecated”, and so VIRTIO_NET_CTRL_MAC_ADDR_SET must

Re: VDPA MAC address problem

2025-03-20 Thread Konstantin Shkolnyy
On 3/19/2025 19:58, Jason Wang wrote: On Thu, Mar 20, 2025 at 12:34 AM Konstantin Shkolnyy wrote: Upon reading this forum, I see that VHOST_VDPA_SET_CONFIG is “deprecated”, and so VIRTIO_NET_CTRL_MAC_ADDR_SET must be the right method, but it’s apparently called too late. VHOST_VDPA_SET_CONFIG

Re: VDPA MAC address problem

2025-03-20 Thread Cindy Lu
Hi Konstantin yes, we have found this kind of issue in this upstream So here is a fix for this problem in kernel https://lore.kernel.org/kvm/caclfguuyny6-1cyabsgs+qtdzo+mkp3o09t_gt-bmm4jgdp...@mail.gmail.com/T/ vdpa: support set mac address from vdpa tool This tool allows the user to change the M

VDPA MAC address problem

2025-03-19 Thread Konstantin Shkolnyy
I’m observing a problem while testing VDPA with Nvidia ConnectX-6 (mlx5) on s390. Upon start, virtio_net_device_realize() tries to set a new MAC address by VHOST_VDPA_SET_CONFIG which doesn’t do anything. Later, the VM gets started and learns about the old address from virtio_net_get_config(