[dpdk-dev] [PATCH v1 0/2] bonding: fix port id check and PCI addr cmp
Gaetan Rivet
grive at u256.net
Fri Apr 17 18:42:05 CEST 2020
Found these two bugs while reading the bonding code.
The first bug is mostly usability: if a user gives an incorrect port id
as a slave, it will error-out later. The error will simply be less
clear.
I'm partially responsible for the second one. I don't see why we did not
wrote it properly at the time: the comment about lacking the proper
rte_bus_pci impl was already not correct anymore when the check on the kdrv
was removed. The necessary functions were already available I think.
Gaetan Rivet (2):
bonding: fix port id validity check on parsing
bonding: fix PCI address comparison on non-pci ports
drivers/net/bonding/rte_eth_bond_args.c | 63 +++++++++++--------------
1 file changed, 27 insertions(+), 36 deletions(-)
--
2.26.0
More information about the dev
mailing list