1ACCEL-CONFIG-CREAT(1) accfg Manual ACCEL-CONFIG-CREAT(1)
2
3
4
6 accel-config-create-mdev - create mdev to enabled workqueues of
7 devices. A uuid is generated which is associated with the mdev and will
8 be stored in /sys/class/mdev_bus under the device pcie bdf id. Creation
9 of mdevs require enabled workqueues. For mdevs of the shared type, at
10 least one shared mode workqueue needs to be enabled. Each dedicated
11 type mdev require one dedicated mode workqueue to be enabled. Creation
12 of dedicated type mdevs would set the state of workqueue used as
13 "locked". Creation of shared type mdevs do not alter the state of
14 workqueues.
15
17 accel-config create-mdev <device-name> [<mdev-type>|<options>]
18
20 accel-config create-mdev dsa0 1dwq
21
22 accel-config create-mdev dsa0 -l
23
24
25 .ft C
26 Available mdev types:
27 1dwq
28 1swq
29 .ft
30
31
33 -l, --list-mdev-types
34 list the available mdev types
35
37 Copyright (c) 2016 - 2019, Intel Corporation. License GPLv2: GNU GPL
38 version 2 http://gnu.org/licenses/gpl.html. This is free software: you
39 are free to change and redistribute it. There is NO WARRANTY, to the
40 extent permitted by law.
41
42
43
44accfg 3.4.4 01/19/2022 ACCEL-CONFIG-CREAT(1)