diff options
author | Vijay Ram Inavolu <vinavolu@marvell.com> | 2021-09-03 13:47:40 +0000 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-09-06 11:42:41 +0300 |
commit | 6827aed505064fa8204b0a31c69883840fe3fa50 (patch) | |
tree | fb2ec24236c3967b8c8426bdd032904de4f95c37 /config | |
parent | 88b06ee5c73e43331eeec99f5e9527e5985d7601 (diff) |
linux-dpdk: pktio: add pci ports using config file
Implementation to support pci ports addition using the odp config file
for linux dpdk.
Signed-off-by: Vijay Ram Inavolu <vinavolu@marvell.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/odp-linux-dpdk.conf | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/config/odp-linux-dpdk.conf b/config/odp-linux-dpdk.conf index c266a5489..4267ba61d 100644 --- a/config/odp-linux-dpdk.conf +++ b/config/odp-linux-dpdk.conf @@ -16,7 +16,7 @@ # Mandatory fields odp_implementation = "linux-dpdk" -config_file_version = "0.1.13" +config_file_version = "0.1.14" # System options system: { @@ -45,6 +45,19 @@ dpdk: { # should reserve all shared resources and configure the system before # forking child processes for the best success probability. process_mode_memory_mb = 512 + + # PCI devices configuration. + # + # Specify them as lists of strings of format. + # "[domain:]bus:devid.func[,devargs]", where devargs are + # optional arguments in the "key1=value1,key2=value2,..." form. + # Either whitelist or blacklist should be defined but not both. + # + # List of PCI devices that should be used. + pci_whitelist = [] + + # List of PCI devices that should not be used. + pci_blacklist = [] } # Pool options |