summaryrefslogtreecommitdiff
path: root/Documentation/networking/devlink-params.txt
blob: 04e234e9acc9bcc040390d05ab866fd87de28995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Devlink configuration parameters
================================
Following is the list of configuration parameters via devlink interface.
Each parameter can be generic or driver specific and are device level
parameters.

Note that the driver-specific files should contain the generic params
they support to, with supported config modes.

Each parameter can be set in different configuration modes:
	runtime		- set while driver is running, no reset required.
	driverinit	- applied while driver initializes, requires restart
			driver by devlink reload command.
	permanent	- written to device's non-volatile memory, hard reset
			required.

Following is the list of parameters:
====================================
enable_sriov		[DEVICE, GENERIC]
			Enable Single Root I/O Virtualisation (SRIOV) in
			the device.
			Type: Boolean

ignore_ari		[DEVICE, GENERIC]
			Ignore Alternative Routing-ID Interpretation (ARI)
			capability. If enabled, adapter will ignore ARI
			capability even when platforms has the support
			enabled and creates same number of partitions when
			platform does not support ARI.
			Type: Boolean

msix_vec_per_pf_max	[DEVICE, GENERIC]
			Provides the maximum number of MSIX interrupts that
			a device can create. Value is same across all
			physical functions (PFs) in the device.
			Type: u32

msix_vec_per_pf_min	[DEVICE, GENERIC]
			Provides the minimum number of MSIX interrupts required
			for the device initialization. Value is same across all
			physical functions (PFs) in the device.
			Type: u32

fw_load_policy		[DEVICE, GENERIC]
			Controls the device's firmware loading policy.
			Valid values:
			* DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DRIVER (0)
			  Load firmware version preferred by the driver.
			* DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_FLASH (1)
			  Load firmware currently stored in flash.
			* DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DISK (2)
			  Load firmware currently available on host's disk.
			Type: u8

reset_dev_on_drv_probe	[DEVICE, GENERIC]
			Controls the device's reset policy on driver probe.
			Valid values:
			* DEVLINK_PARAM_RESET_DEV_ON_DRV_PROBE_VALUE_UNKNOWN (0)
			  Unknown or invalid value.
			* DEVLINK_PARAM_RESET_DEV_ON_DRV_PROBE_VALUE_ALWAYS (1)
			  Always reset device on driver probe.
			* DEVLINK_PARAM_RESET_DEV_ON_DRV_PROBE_VALUE_NEVER (2)
			  Never reset device on driver probe.
			* DEVLINK_PARAM_RESET_DEV_ON_DRV_PROBE_VALUE_DISK (3)
			  Reset only if device firmware can be found in the
			  filesystem.
			Type: u8

enable_roce		[DEVICE, GENERIC]
			Enable handling of RoCE traffic in the device.
			Type: Boolean