Thread (37 messages) 37 messages, 3 authors, 2021-10-26

Re: [PATCH linux-next v4 5/8] vdpa_sim_net: Enable user to set mac address and mtu

From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2021-10-25 08:09:19

On Mon, Oct 25, 2021 at 07:11:23AM +0000, Parav Pandit wrote:
quoted
From: Jason Wang <jasowang@redhat.com>
Sent: Monday, October 25, 2021 12:32 PM


在 2021/10/22 上午12:35, Parav Pandit 写道:
quoted
Enable user to set the mac address and mtu so that each vdpa device
can have its own user specified mac address and mtu.
This is done by implementing the management device's configuration
layout fields setting callback routine.

Now that user is enabled to set the mac address, remove the module
parameter for same.

And example of setting mac addr and mtu:
$ vdpa mgmtdev show

$ vdpa dev add name bar mgmtdev vdpasim_net $ vdpa dev config set bar
mac 00:11:22:33:44:55 mtu 9000

The attributes were set during dev add if I was not wrong.
You are right. I missed to update the example here. Code is just fine.
quoted
Thanks
Want to send a corrected commit log?

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help