Skip to content
Commit 7371f970 authored by Evgeniy Didin's avatar Evgeniy Didin Committed by Anas Nashif
Browse files

Samples: Add SMP pktqueue application



This sample application simulates a network router with several
interfaces which performs IP Header Validation(calculation
of CRC16 header checksum). Each interface is represented
by sender queue(initialized with packet headers) and receiver queue.
Every header first is fetched from sender queue, than the header
CRC16 is calculated, and finally if hashsum is correct
the header is stored in receiver queue.
Each interface is can be processed independently by multiple threads.

This application can be used for testing the correctness
of synchronization mechanisms on multi-core systems.

Signed-off-by: default avatarEvgeniy Didin <didin@synopsys.com>
parent cec04050
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment