Merge branch 'drm-fixes-5.0' of git://people.freedesktop.org/~agd5f/linux into drm...
[sfrench/cifs-2.6.git] / Documentation / networking / devlink-params.txt
1 Devlink configuration parameters
2 ================================
3 Following is the list of configuration parameters via devlink interface.
4 Each parameter can be generic or driver specific and are device level
5 parameters.
6
7 Note that the driver-specific files should contain the generic params
8 they support to, with supported config modes.
9
10 Each parameter can be set in different configuration modes:
11         runtime         - set while driver is running, no reset required.
12         driverinit      - applied while driver initializes, requires restart
13                         driver by devlink reload command.
14         permanent       - written to device's non-volatile memory, hard reset
15                         required.
16
17 Following is the list of parameters:
18 ====================================
19 enable_sriov            [DEVICE, GENERIC]
20                         Enable Single Root I/O Virtualisation (SRIOV) in
21                         the device.
22                         Type: Boolean
23
24 ignore_ari              [DEVICE, GENERIC]
25                         Ignore Alternative Routing-ID Interpretation (ARI)
26                         capability. If enabled, adapter will ignore ARI
27                         capability even when platforms has the support
28                         enabled and creates same number of partitions when
29                         platform does not support ARI.
30                         Type: Boolean
31
32 msix_vec_per_pf_max     [DEVICE, GENERIC]
33                         Provides the maximum number of MSIX interrupts that
34                         a device can create. Value is same across all
35                         physical functions (PFs) in the device.
36                         Type: u32
37
38 msix_vec_per_pf_min     [DEVICE, GENERIC]
39                         Provides the minimum number of MSIX interrupts required
40                         for the device initialization. Value is same across all
41                         physical functions (PFs) in the device.
42                         Type: u32
43
44 fw_load_policy          [DEVICE, GENERIC]
45                         Controls the device's firmware loading policy.
46                         Valid values:
47                         * DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DRIVER (0)
48                           Load firmware version preferred by the driver.
49                         * DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_FLASH (1)
50                           Load firmware currently stored in flash.
51                         Type: u8