linux/drivers/vdpa
Eli Cohen a007d94004 vdpa/mlx5: Support configuration of MAC
Add code to accept MAC configuration through vdpa tool. The MAC is
written into the config struct and later can be retrieved through
get_config().

Examples:
1. Configure MAC while adding a device:
$ vdpa dev add mgmtdev pci/0000:06:00.2 name vdpa0 mac 00:11:22:33:44:55

2. Show configured params:
$ vdpa dev config show
vdpa0: mac 00:11:22:33:44:55 link down link_announce false max_vq_pairs 8 mtu 1500

Signed-off-by: Eli Cohen <elic@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20211026175519.87795-8-parav@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-11-01 05:26:49 -04:00
..
alibaba eni_vdpa: add vDPA driver for Alibaba ENI 2021-11-01 05:23:41 -04:00
ifcvf vdpa: Enable user to set mac and mtu of vdpa device 2021-11-01 05:26:49 -04:00
mlx5 vdpa/mlx5: Support configuration of MAC 2021-11-01 05:26:49 -04:00
vdpa_sim vdpa_sim_net: Enable user to set mac address and mtu 2021-11-01 05:26:49 -04:00
vdpa_user vdpa: Enable user to set mac and mtu of vdpa device 2021-11-01 05:26:49 -04:00
virtio_pci vp_vdpa: add vq irq offloading support 2021-11-01 04:30:34 -04:00
Kconfig eni_vdpa: add vDPA driver for Alibaba ENI 2021-11-01 05:23:41 -04:00
Makefile eni_vdpa: add vDPA driver for Alibaba ENI 2021-11-01 05:23:41 -04:00
vdpa.c vdpa: Enable user to set mac and mtu of vdpa device 2021-11-01 05:26:49 -04:00