Re: [PATCH net-next] mlx4: reorganize struct mlx4_en_tx_ring

2016-11-24 Thread David Miller
From: Eric Dumazet Date: Tue, 22 Nov 2016 15:56:10 -0800 > From: Eric Dumazet > > Goal is to reorganize this critical structure to increase performance. > > ndo_start_xmit() should only dirty one cache line, and access as few > cache lines as

Re: [PATCH net-next] mlx4: reorganize struct mlx4_en_tx_ring

2016-11-24 Thread Tariq Toukan
Hi Eric, Thanks for your patch. On 23/11/2016 1:56 AM, Eric Dumazet wrote: From: Eric Dumazet Goal is to reorganize this critical structure to increase performance. ndo_start_xmit() should only dirty one cache line, and access as few cache lines as possible. Add sp_

[PATCH net-next] mlx4: reorganize struct mlx4_en_tx_ring

2016-11-22 Thread Eric Dumazet
From: Eric Dumazet Goal is to reorganize this critical structure to increase performance. ndo_start_xmit() should only dirty one cache line, and access as few cache lines as possible. Add sp_ (Slow Path) prefix to fields that are not used in fast path, to make clear what