mirror of https://github.com/F-Stack/f-stack.git
Modify `pci_whitelist` to `allow` that from DPDK 20.11. Close #745.
This commit is contained in:
parent
9e149018e3
commit
8020e2669c
|
@ -40,9 +40,9 @@ symmetric_rss=0
|
|||
|
||||
# PCI device enable list.
|
||||
# And driver options
|
||||
#pci_whitelist=02:00.0
|
||||
#allow=02:00.0
|
||||
# for multiple PCI devices
|
||||
#pci_whitelist=02:00.0,03:00.0
|
||||
#allow=02:00.0,03:00.0
|
||||
|
||||
# enabled port list
|
||||
#
|
||||
|
|
|
@ -783,7 +783,7 @@ dpdk_args_setup(struct ff_config *cfg)
|
|||
char* rest = cfg->dpdk.pci_whitelist;
|
||||
|
||||
while ((token = strtok_r(rest, ",", &rest))){
|
||||
sprintf(temp, "--pci-whitelist=%s", token);
|
||||
sprintf(temp, "--allow=%s", token);
|
||||
dpdk_argv[n++] = strdup(temp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue