Re: [dpdk-dev] [PATCH v3] Fixes: ethdev: secondary process change shared memory

2020-01-17 Thread Ferruh Yigit
On 1/17/2020 8:33 AM, Andrew Rybchenko wrote: > On 1/17/20 5:08 AM, Fang TongHao wrote: > > Summary does not comply with [1]. > >> Fixes the secondary process changed shared memory >> in "rte_eth_copy_pci_info" function.In that function >> only primary can update the value of "eth_dev->data" >> w

Re: [dpdk-dev] [PATCH v3] Fixes: ethdev: secondary process change shared memory

2020-01-17 Thread Andrew Rybchenko
On 1/17/20 5:08 AM, Fang TongHao wrote: Summary does not comply with [1]. > Fixes the secondary process changed shared memory > in "rte_eth_copy_pci_info" function.In that function > only primary can update the value of "eth_dev->data" > which shared by primary and secondary. Consider: Avoid ove

[dpdk-dev] [PATCH v3] Fixes: ethdev: secondary process change shared memory

2020-01-16 Thread Fang TongHao
Fixes the secondary process changed shared memory in "rte_eth_copy_pci_info" function.In that function only primary can update the value of "eth_dev->data" which shared by primary and secondary. Signed-off-by: Fang TongHao --- lib/librte_ethdev/rte_ethdev_pci.h | 18 ++ 1 file ch