Scroll to navigation

ACCEL-CONFIG-CREAT(1) accfg Manual ACCEL-CONFIG-CREAT(1)

NAME

accel-config-create-mdev - create mdev to enabled workqueues of devices. A uuid is generated which is associated with the mdev and will be stored in /sys/class/mdev_bus under the device pcie bdf id. Creation of mdevs require enabled workqueues. For mdevs of the shared type, at least one shared mode workqueue needs to be enabled. Each dedicated type mdev require one dedicated mode workqueue to be enabled. Creation of dedicated type mdevs would set the state of workqueue used as "locked". Creation of shared type mdevs do not alter the state of workqueues.

SYNOPSIS

accel-config create-mdev <device-name> [<mdev-type>|<options>]

EXAMPLE

accel-config create-mdev dsa0 1dwq

accel-config create-mdev dsa0 -l

.ft C
Available mdev types:

1dwq
1swq .ft

OPTIONS

-l, --list-mdev-types

list the available mdev types

COPYRIGHT

Copyright (c) 2016 - 2019, Intel Corporation. License GPLv2: GNU GPL version 2 http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

04/04/2023 accfg 3.5.0