summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Verkamp <daniel.verkamp@intel.com>2017-06-02 13:12:13 -0700
committerThomas Monjalon <thomas@monjalon.net>2017-07-01 13:26:18 +0200
commitaae9817d5daf60d50046a981c66f2702ee88652c (patch)
treecb2444ec26c634bfc7dba27934242103a671fdc5 /test
parent49da4e82cf94a5b7d8fc611c2ca16433ef52881c (diff)
downloaddpdk-aae9817d5daf60d50046a981c66f2702ee88652c.zip
dpdk-aae9817d5daf60d50046a981c66f2702ee88652c.tar.gz
dpdk-aae9817d5daf60d50046a981c66f2702ee88652c.tar.xz
ring: use aligned memzone allocation
rte_memzone_reserve() provides cache line alignment, but struct rte_ring may require more than cache line alignment: on x86-64, it needs 128-byte alignment due to PROD_ALIGN and CONS_ALIGN, which are 128 bytes, but cache line size is 64 bytes. Fixes runtime warnings with UBSan enabled. Fixes: d9f0d3a1ffd4 ("ring: remove split cacheline build setting") Cc: stable@dpdk.org Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions