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 +++
,by adding an
if-statement to forbid the secondaryprocess changing
the above-mentioned value.
Signed-off-by: Fang TongHao
---
lib/librte_ethdev/rte_ethdev_pci.h | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/lib/librte_ethdev/rte_ethdev_pci.h
b/lib/lib
memory.
I fixed this bug by adding an if-statement to forbid the secondary
process changing the above-mentioned value.
Thansk, All.
Signed-off-by: Fang TongHao
---
lib/librte_ethdev/rte_ethdev_pci.h | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/lib/librte_ethd
memory.
I fixed this bug by adding an if-statement to forbid the secondary
process changing the above-mentioned value.
Thansk, All.
Cc: sta...@dpdk.org
Signed-off-by: Fang TongHao
---
lib/librte_ethdev/rte_ethdev_pci.h | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --
memory.
I fixed this bug by adding an if-statement to forbid the secondary
process changing the above-mentioned value.
Thansk, All.
Signed-off-by: Fang TongHao
---
lib/librte_ethdev/rte_ethdev_pci.h | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/lib/librte_ethd
5 matches
Mail list logo