ethdev: align device structure with cache line
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Tue, 3 May 2016 12:42:07 +0000 (18:12 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 22 Jun 2016 21:26:34 +0000 (23:26 +0200)
commit0cdf516a7185e74872ec3a9cbc73637e60fff04d
treeb6addb276495945274f0b6eef9da61a519858550
parentfbb280b6aed17d009f37c814ba4390ed06836830
ethdev: align device structure with cache line

Elements of struct rte_eth_dev used in the fast path.
Make struct rte_eth_dev cache aligned to avoid the cases where
rte_eth_dev elements share the same cache line with other structures.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_ether/rte_ethdev.h