diff options
author | Eli Cohen <[email protected]> | 2021-10-26 20:55:18 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-11-01 05:26:49 -0400 |
commit | a007d940040c0b3d1fcb5f39159c2b141b85eae0 (patch) | |
tree | 1c987639247f8733409a3ef22d216bea1ad3b559 /drivers/usb/cdns3/cdns3-trace.c | |
parent | ef76eb83a17e803a66b64ac95b36ae48b3d17c22 (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 <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Acked-by: Jason Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions