[PATCH] net/r8169: add support for hw initialization

Stephen Hemminger stephen at networkplumber.org
Wed Sep 25 17:17:54 CEST 2024


On Wed, 25 Sep 2024 15:54:21 +0800
Howard Wang <howard_wang at realsil.com.cn> wrote:

> +		PMD_INIT_LOG(NOTICE, "r8169: Assign randomly generated MAC address "
> +		             "%02x:%02x:%02x:%02x:%02x:%02x",
> +		             perm_addr->addr_bytes[0],
> +		             perm_addr->addr_bytes[1],
> +		             perm_addr->addr_bytes[2],
> +		             perm_addr->addr_bytes[3],
> +		             perm_addr->addr_bytes[4],
> +		             perm_addr->addr_bytes[5]);

DPDK rte_ether.h has a function to format ethernet addresses for printing, please
use that.


More information about the dev mailing list