diff options
author | Vladimir Ratnikov <vratnikov@netgate.com> | 2020-08-14 08:25:30 -0400 |
---|---|---|
committer | Vladimir Ratnikov <vratnikov@netgate.com> | 2020-08-27 08:25:56 +0000 |
commit | ed04407829728c5d258b6600155edabd5198d971 (patch) | |
tree | 575053762ee9c5722cd797e4979208dfe66ea02a /src/vnet/bonding | |
parent | a3b7c554c669afc627f9a1e32666211bb6fb6b25 (diff) |
dpdk: fix blacklists
When we have both format blacklisted devices like:
blacklist 1234:5678
blacklist 1234:56:78.0
unformat with fmt=%x:%x matches for both strings
and the rest 78.0 substring is kept in input
and it can't be parsed for init args
This patch checks first if device format matches PCI address and
just then if it matches Vendor and Product
Type: fix
Change-Id: If111762c0e0a424b052e4f6dc0f67731bf89dc2a
Signed-off-by: Vladimir Ratnikov <vratnikov@netgate.com>
Diffstat (limited to 'src/vnet/bonding')
0 files changed, 0 insertions, 0 deletions