app/flow-perf: use macro for cache alignment
authorThomas Monjalon <thomas@monjalon.net>
Mon, 29 Jun 2020 20:57:50 +0000 (22:57 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 30 Jun 2020 09:57:46 +0000 (11:57 +0200)
commitf7a4996c04abe29707e35a6d65b4057fc7c26269
tree812d5b5734bebddcb5537aa4a19c9d5750a45518
parent8d05adbd54d30048d2625486d82c8c93f674d652
app/flow-perf: use macro for cache alignment

The macro __rte_cache_aligned is better suited for aligning
a structure on a cache line (of any size).

Fixes: 15c431864000 ("app/flow-perf: add packet forwarding support")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Wisam Jaddo <wisamm@mellanox.com>
app/test-flow-perf/main.c