linux/drivers/vdpa/ifcvf
Parav Pandit d8ca2fa5be 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 <parav@nvidia.com>
Reviewed-by: Eli Cohen <elic@nvidia.com>
Acked-by: Jason Wang <jasowang@redhat.com>

Link: https://lore.kernel.org/r/20211026175519.87795-5-parav@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
2021-11-01 05:26:49 -04:00
..
ifcvf_base.c vDPA/ifcvf: detect and use the onboard number of queues directly 2021-09-05 16:23:07 -04:00
ifcvf_base.h vDPA/ifcvf: enable multiqueue and control vq 2021-09-05 16:23:07 -04:00
ifcvf_main.c vdpa: Enable user to set mac and mtu of vdpa device 2021-11-01 05:26:49 -04:00
Makefile