forked from Freescale/linux-fslc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bnxt_en-devlink-param-updates'
Vasundhara Volam says: ==================== bnxt_en: devlink param updates This patchset adds support for 3 generic and 1 driver-specific devlink parameters. Add documentation for these configuration parameters. Also, this patchset adds support to return proper error code if HWRM_NVM_GET/SET_VARIABLE commands return error code HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED. v3->v4: -Remove extra definition of NVM_OFF_HW_TC_OFFLOAD from bnxt_devlink.h -Remove type information for generic parameters from devlink-params-bnxt.txt v2->v3: -Remove description of generic parameters from devlink-params-bnxt.txt v1->v2: -Remove hw_tc_offload parameter. -Update all patches with Cc of MAINTAINERS. -Add more description in commit message for device specific parameter. -Add a new Documentation/networking/devlink-params.txt with some generic devlink parameters information. -Add a new Documentation/networking/devlink-params-bnxt.txt with devlink parameters information that are supported by bnxt_en driver. ==================== Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
6 changed files
with
176 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
enable_sriov [DEVICE, GENERIC] | ||
Configuration mode: Permanent | ||
|
||
ignore_ari [DEVICE, GENERIC] | ||
Configuration mode: Permanent | ||
|
||
msix_vec_per_pf_max [DEVICE, GENERIC] | ||
Configuration mode: Permanent | ||
|
||
msix_vec_per_pf_min [DEVICE, GENERIC] | ||
Configuration mode: Permanent | ||
|
||
gre_ver_check [DEVICE, DRIVER-SPECIFIC] | ||
Generic Routing Encapsulation (GRE) version check will | ||
be enabled in the device. If disabled, device skips | ||
version checking for incoming packets. | ||
Type: Boolean | ||
Configuration mode: Permanent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters