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

2016-06-23 Thread Thomas Monjalon
2016-05-03 18:12, 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 Let's try it in real tests. Applied,

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

2016-05-04 Thread Jerin Jacob
dk.org; thomas.monjalon at 6wind.com > > Subject: Re: [dpdk-dev] [PATCH v2] ethdev: make struct rte_eth_dev cache > > aligned > > > > On Wed, May 04, 2016 at 12:09:50PM +0100, Bruce Richardson wrote: Snip > > > > > > Hi Jerin, > > > > Hi Bruc

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

2016-05-04 Thread Jerin Jacob
On Wed, May 04, 2016 at 12:09:50PM +0100, Bruce Richardson wrote: > On Tue, May 03, 2016 at 06:12:07PM +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

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

2016-05-04 Thread Richardson, Bruce
> -Original Message- > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > Sent: Wednesday, May 4, 2016 2:43 PM > To: Richardson, Bruce > Cc: dev at dpdk.org; thomas.monjalon at 6wind.com > Subject: Re: [dpdk-dev] [PATCH v2] ethdev: make struct rte_eth_d

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

2016-05-04 Thread Bruce Richardson
On Tue, May 03, 2016 at 06:12:07PM +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 > --- > v2:

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

2016-05-03 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 --- v2: Remove __rte_cache_aligned from rte_eth_devices and keep it only at struct