dpdk: split PCI blacklist rte_eal args from startup.conf
Type: fix Fixes: ed04407829728c5d258b6600155edabd5198d971 Signed-off-by: Vladimir Ratnikov <vratnikov@netgate.com> Change-Id: I5aebcba7b97db758310042fd446328ee8f691641
This commit is contained in:

committed by
Damjan Marion

parent
1f6a6b8b2b
commit
9a59785c91
@ -1258,9 +1258,10 @@ dpdk_config (vlib_main_t * vm, unformat_input_t * input)
|
||||
if (unformat
|
||||
(input, "blacklist %x:%x:%x.%x", &domain, &bus, &device, &func))
|
||||
{
|
||||
tmp = format (0, "-b%c", 0);
|
||||
vec_add1 (conf->eal_init_args, tmp);
|
||||
tmp =
|
||||
format (0, "-b %04x:%02x:%02x.%x%c", domain, bus, device, func,
|
||||
0);
|
||||
format (0, "%04x:%02x:%02x.%x%c", domain, bus, device, func, 0);
|
||||
vec_add1 (conf->eal_init_args, tmp);
|
||||
}
|
||||
else if (unformat (input, "blacklist %x:%x", &vendor, &device))
|
||||
|
Reference in New Issue
Block a user