Hi Tal,
+ /* Convert 4-digit class IDs to 6-digit format */ + if (strspn(cp + 4, "0123456789abcdefABCDEF") == 4)Maybe we can move this format string to a define in the header, something like RTE_PCI_DRV_CLASSID_FMT?
I'll send out a v4 with a definition at the top of pci.c Regards, Nick