Stephen, > By the way, it seems strange that pi_data is initialized twice: > .pi_data = *(u_int32_t *)buf > memcpy(&pi.pi_data, buf, len);
Please, could you explain why there are 2 initializations of pi_data in lib/librte_eal/bsdapp/eal/eal_pci.c?
Stephen, > By the way, it seems strange that pi_data is initialized twice: > .pi_data = *(u_int32_t *)buf > memcpy(&pi.pi_data, buf, len);
Please, could you explain why there are 2 initializations of pi_data in lib/librte_eal/bsdapp/eal/eal_pci.c?