On Wed, 12 Feb 2025 18:38:34 +0200 Shani Peretz <[email protected]> wrote:
> +static struct rte_device *
> +create_pci_dev(const char *name)
> +{
> + int port_id;
> + struct rte_ether_addr rand_ea = {0};
> + rte_eth_random_addr(rand_ea.addr_bytes);
Minor nit, no need to initialize address then call random.
Random always writes the value.
Acked-by: Stephen Hemminger <[email protected]>

