Hi Marcin, 2016-09-30 16:00, Marcin Kerlin: > Added protection against overwrite device data in array rte_eth_dev_data[] > for the next secondary applications. Secondary process appends in the > first free place rather than at the beginning. This behavior prevents > overwriting devices data of primary process by secondary process.
I've just realized that you are trying to fix an useless code. Why not just remove the array rte_eth_dev_data[] at first? We already have the array rte_eth_devices[] and there is a pointer to rte_eth_dev_data in rte_eth_dev. Is it just a workaround to be able to lookup the rte_eth_dev_data memzone in the secondary process? So wouldn't it be saner to have rte_eth_devices[] in a memzone? Sergio, as the multi-process maintainer, I guess you have an idea :)