aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEli Cohen2021-10-26 20:55:18 +0300
committerMichael S. Tsirkin2021-11-01 05:26:49 -0400
commita007d940040c0b3d1fcb5f39159c2b141b85eae0 (patch)
tree1c987639247f8733409a3ef22d216bea1ad3b559 /init
parentef76eb83a17e803a66b64ac95b36ae48b3d17c22 (diff)
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions