On Wed, 12 Feb 2025 18:38:34 +0200
Shani Peretz 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 rand
Added tests to PCI and vdev bus that compare and find devices
in various forms of names under test_devargs.
The tests check the functionality of the rte_cmp_dev_name function by
calling it with different variations of names, like short and full,
full and full, etc.
Signed-off-by: Shani Peretz
---
2 matches
Mail list logo