On Thu, 6 Feb 2025 02:08:37 +0200 Shani Peretz <shper...@nvidia.com> wrote:
> +static struct rte_device * > +create_pci_dev(const char *name) > +{ > + int port_id; > + struct rte_ether_addr mac_addr = { > + .addr_bytes = { > + 0x00, 0xFF, 0x00, 0xFF, 0x00, 0x00 > + } > + }; > + > + char pmd_name[RTE_ETH_NAME_MAX_LEN]; Why hardcode a MAC address, which could lead to future issues. Instead use rte_eth_random_addr().