[PATCH v9 1/1] app/testpmd: canonicalize short PCI name format

2025-07-12 Thread Shani Peretz
when providing short format PCI device names in devargs (e.g. "08:00:0") it is converted and stored as long format. however when attach_port is called from testpmd, the user might provide a short format, which will be passed to find_device with a comparison function that simply compare strings, whi

[PATCH v9 0/1] fix inconsistent representation of PCI device name

2025-07-12 Thread Shani Peretz
v9: added pci dependency to the testpmd meson file fixed typo in commit message v8: Keep cmp_dev_name as string comparison and create a function within testpmd that converts the PCI name to its long format before passing it to the find_device function. v1-v7: The fix focuses on improving cmp_de