[dpdk-dev] [PATCH] ethdev: make struct rte_eth_dev cache aligned

2016-05-03 Thread Jerin Jacob
On Tue, May 03, 2016 at 10:40:53AM +0100, Bruce Richardson wrote: > On Mon, May 02, 2016 at 01:37:45PM +0530, Jerin Jacob wrote: > > 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

[dpdk-dev] [PATCH] ethdev: make struct rte_eth_dev cache aligned

2016-05-03 Thread Bruce Richardson
On Mon, May 02, 2016 at 01:37:45PM +0530, Jerin Jacob wrote: > 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 > --- > lib

[dpdk-dev] [PATCH] ethdev: make struct rte_eth_dev cache aligned

2016-05-02 Thread Jerin Jacob
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 --- lib/librte_ether/rte_ethdev.c | 2 +- lib/librte_ether/rte_ethdev.h | 2 +- 2