examples/ip_pipeline: fix false cacheline sharing among threads
authorJasvinder Singh <jasvinder.singh@intel.com>
Sun, 12 Jun 2016 12:42:47 +0000 (13:42 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 14 Jun 2016 19:15:48 +0000 (21:15 +0200)
commit5f0c5de435b391eaf7a5c362213e91f2c795c4a2
tree07553c6bdad01057006e34ec4b000e0651e93c6f
parent5fdb6c362182f4177a7dfe0e03ab88c936f74085
examples/ip_pipeline: fix false cacheline sharing among threads

In ip_pipeline app, the structure app_thread_data needs to be aligned to
the cache line boundary as threads on different cpu cores are accessing
fields of the app->thread_data and having this structure not aligned on
cacheline boundary leads to false cacheline sharing.

Fixes: 7f64b9c004aa ("examples/ip_pipeline: rework config file syntax")

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/app.h