packet_ordering example works in two modes (--disable-reorder):
- When reorder is enabled: rx_thread - N*worker_thread - send_thread
- When reorder is disabled: rx_thread - N*worker_thread - tx_thread
N parallel worker_thread(s) generate out-of-order packets.
When reorder is enabled, send_thre
is inlined by the compiler to prevent any performance loss.
Signed-off-by: Qian Hao
---
examples/packet_ordering/main.c | 32 +---
1 file changed, 25 insertions(+), 7 deletions(-)
diff --git a/examples/packet_ordering/main.c b/examples/packet_ordering/main.c
index
test is inlined by the compiler to prevent any performance loss.
Signed-off-by: Qian Hao
---
examples/packet_ordering/main.c | 32 +---
1 file changed, 25 insertions(+), 7 deletions(-)
diff --git a/examples/packet_ordering/main.c b/examples/packet_ordering/main.c
index
3 matches
Mail list logo