When compiling with -O0,
the compiler does not optimize two memory accesses into one.
Leads to accessing a null pointer when queue post Rx burst callback
removal while traffic is running.
Signed-off-by: ZY Qiu
---
lib/librte_ethdev/rte_ethdev.h | 9 +
1 file changed, 5 insertions(+), 4
When compiling with -O0,
the compiler does not optimize two memory accesses into one.
Leads to accessing a null pointer when queue post Rx burst callback
removal while traffic is running.
See rte_eth_tx_burst function.
Signed-off-by: ZY Qiu
---
lib/librte_ethdev/rte_ethdev.h | 6 ++
1 file
2 matches
Mail list logo