DEVLINK-DEV(8)

NAME
vdpa-dev - vdpa device configuration

SYNOPSIS

vdpa dev [ OPTIONS ] { COMMAND| help }

OPTIONS := { -V[ersion] }
vdpa dev show [ DEV ]
vdpa dev help
vdpa dev add name NAME mgmtdev MGMTDEV [ mac MACADDR ] [ mtu MTU ]
vdpa dev del DEV
vdpa dev config show [ DEV ]

DESCRIPTION

  vdpa dev show - display vdpa device attributes

DEV - specifies the vdpa device to show. If this argument is omitted all devices are listed.
Format is:
VDPA_DEVICE_NAME

  vdpa dev add - add a new vdpa device.

name NAME
    Name of the new vdpa device to add.

mgmtdev MGMTDEV
    Name of the management device to use for device addition.

mac MACADDR - specifies the mac address for the new vdpa device. This is applicable only for the network type of vdpa device. This is optional. mtu MTU - specifies the mtu for the new vdpa device. This is applicable only for the network type of vdpa device. This is optional.

  vdpa dev del - Delete the vdpa device.

DEV - specifies the vdpa device to delete.

  vdpa dev config show - Show configuration of specific device or all devices.

DEV - specifies the vdpa device to show its configuration. If this argument is omitted all devices configuration is listed.
Format is:
VDPA_DEVICE_NAME

EXAMPLES

vdpa dev show
    Shows the all vdpa devices on the system.

vdpa dev show foo
    Shows the specified vdpa device.

vdpa dev add name foo mgmtdev vdpa_sim_net
    Add the vdpa device named foo on the management device vdpa_sim_net.

vdpa dev add name foo mgmtdev vdpa_sim_net mac 00:11:22:33:44:55
    Add the vdpa device named foo on the management device vdpa_sim_net with mac address of 00:11:22:33:44:55.

vdpa dev add name foo mgmtdev vdpa_sim_net mac 00:11:22:33:44:55 mtu 9000
    Add the vdpa device named foo on the management device vdpa_sim_net with mac address of 00:11:22:33:44:55 and mtu of 9000 bytes.

vdpa dev del foo
    Delete the vdpa device named foo which was previously created.

vdpa dev config show foo
    Shows the vdpa device configuration of device named foo.

SEE ALSO
vdpa(8), vdpa-mgmtdev(8),

AUTHOR
Parav Pandit <parav@nvidia.com>