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: Jason Wang <jasowang@redhat.com>
Date: 2021-10-25 07:02:24

在 2021/10/22 上午12:35, Parav Pandit 写道:
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.

Thanks


_______________________________________________
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