net/bonding: use dynamic log type for error message
Checks
Commit 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 <stephen@networkplumber.org>
---
drivers/net/bonding/rte_eth_bond_args.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 7/16/2019 9:39 PM, Stephen Hemminger wrote:
> 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 <stephen@networkplumber.org>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Applied to dpdk-next-net/master, thanks.
@@ -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;
}