Skip to content

Commit 8020e26

Browse files
committed
Modify pci_whitelist to allow that from DPDK 20.11. Close #745.
1 parent 9e14901 commit 8020e26

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ symmetric_rss=0
4040

4141
# PCI device enable list.
4242
# And driver options
43-
#pci_whitelist=02:00.0
43+
#allow=02:00.0
4444
# for multiple PCI devices
45-
#pci_whitelist=02:00.0,03:00.0
45+
#allow=02:00.0,03:00.0
4646

4747
# enabled port list
4848
#

lib/ff_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ dpdk_args_setup(struct ff_config *cfg)
783783
char* rest = cfg->dpdk.pci_whitelist;
784784

785785
while ((token = strtok_r(rest, ",", &rest))){
786-
sprintf(temp, "--pci-whitelist=%s", token);
786+
sprintf(temp, "--allow=%s", token);
787787
dpdk_argv[n++] = strdup(temp);
788788
}
789789

0 commit comments

Comments
 (0)