diff options
author | Parav Pandit <[email protected]> | 2021-10-26 20:55:15 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-11-01 05:26:49 -0400 |
commit | d8ca2fa5be1bdb9d08cfe1f831cddb622a01dfd4 (patch) | |
tree | e97bbd7599b9c4331ac88cac79ccbe905a5fc86b /drivers/usb/cdns3/cdns3-trace.c | |
parent | 960deb33be3d08e55a39e40e0286a51c7448e053 (diff) |
vdpa: Enable user to set mac and mtu of vdpa device
$ vdpa dev add name bar mgmtdev vdpasim_net mac 00:11:22:33:44:55 mtu 9000
$ vdpa dev config show
bar: mac 00:11:22:33:44:55 link up link_announce false mtu 9000
$ vdpa dev config show -jp
{
"config": {
"bar": {
"mac": "00:11:22:33:44:55",
"link ": "up",
"link_announce ": false,
"mtu": 9000,
}
}
}
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Eli Cohen <[email protected]>
Acked-by: Jason Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions