[dpdk-dev] [PATCH] pci: fix build on FreeBSD

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Aug 3 17:49:15 CEST 2015


> 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?

More information about the dev mailing list