1DEVLINK-DEV(8) Linux DEVLINK-DEV(8)
2
3
4
6 vdpa-dev - vdpa device configuration
7
9 vdpa dev [ OPTIONS ] { COMMAND| help }
10
11
12 OPTIONS := { -V[ersion] }
13
14 vdpa dev show [ DEV ]
15
16 vdpa dev help
17
18 vdpa dev add name NAME mgmtdev MGMTDEV [ mac MACADDR ] [ mtu MTU ] [
19 max_vqp MAX_VQ_PAIRS ]
20
21 vdpa dev del DEV
22
23 vdpa dev config show [ DEV ]
24
25
27 vdpa dev show - display vdpa device attributes
28 DEV - specifies the vdpa device to show. If this argument is omitted
29 all devices are listed.
30
31 Format is:
32 VDPA_DEVICE_NAME
33
34
35 vdpa dev add - add a new vdpa device.
36 name NAME
37 Name of the new vdpa device to add.
38
39
40 mgmtdev MGMTDEV
41 Name of the management device to use for device addition.
42
43
44 mac MACADDR - specifies the mac address for the new vdpa device. This
45 is applicable only for the network type of vdpa device. This is op‐
46 tional.
47
48 mtu MTU - specifies the mtu for the new vdpa device. This is applica‐
49 ble only for the network type of vdpa device. This is optional.
50
51
52 vdpa dev del - Delete the vdpa device.
53 DEV - specifies the vdpa device to delete.
54
55
56 vdpa dev config show - Show configuration of specific device or all de‐
57 vices.
58 DEV - specifies the vdpa device to show its configuration. If this ar‐
59 gument is omitted all devices configuration is listed.
60
61 Format is:
62 VDPA_DEVICE_NAME
63
64
66 vdpa dev show
67 Shows the all vdpa devices on the system.
68
69 vdpa dev show foo
70 Shows the specified vdpa device.
71
72 vdpa dev add name foo mgmtdev vdpa_sim_net
73 Add the vdpa device named foo on the management device
74 vdpa_sim_net.
75
76 vdpa dev add name foo mgmtdev vdpa_sim_net mac 00:11:22:33:44:55
77 Add the vdpa device named foo on the management device vdpa_sim_net
78 with mac address of 00:11:22:33:44:55.
79
80 vdpa dev add name foo mgmtdev vdpa_sim_net mac 00:11:22:33:44:55 mtu
81 9000
82 Add the vdpa device named foo on the management device vdpa_sim_net
83 with mac address of 00:11:22:33:44:55 and mtu of 9000 bytes.
84
85 vdpa dev add name foo mgmtdev auxiliary/mlx5_core.sf.1 mac
86 00:11:22:33:44:55 max_vqp 8
87 Add the vdpa device named foo on the management device auxil‐
88 iary/mlx5_core.sf.1 with mac address of 00:11:22:33:44:55 and max 8
89 virtqueue pairs
90
91 vdpa dev del foo
92 Delete the vdpa device named foo which was previously created.
93
94 vdpa dev config show foo
95 Shows the vdpa device configuration of device named foo.
96
97
99 vdpa(8), vdpa-mgmtdev(8),
100
101
103 Parav Pandit <parav@nvidia.com>
104
105
106
107iproute2 5 Jan 2021 DEVLINK-DEV(8)