net/bonding: use dynamic log type for error message
Subsystems (2)
PATCH 1/1 net/bonding: use dynamic log type for error message
The generic RTE_LOGTYPE_PMD is a historical relic and should not be used. Bonding driver was still using it in one place.
Signed-off-by Stephen Hemminger <[email protected]>
--- drivers/net/bonding/rte_eth_bond_args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/bonding/rte_eth_bond_args.c +1 -1
@@ -81,7 +81,7 @@ parse_port_id(const char *port_str) pci_bus =rte_bus_find_by_name ("pci" );if (pci_bus ==NULL ) { -RTE_LOG (ERR ,PMD ,"unable to find PCI bus\n" ); +RTE_BOND_LOG (ERR ,"unable to find PCI bus\n" );return -1 ; }
Signature · 1 line
2.20.1
Quoted 4 lines · Stephen Hemminger
The generic
RTE_LOGTYPE_PMDis a historical relic and should not be used. Bonding driver was still using it in one place.Signed-off-by Stephen Hemminger <[email protected]>
Reviewed-by Ferruh Yigit <[email protected]>
Applied to dpdk-next-net/master, thanks.