]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Move common case counters within sq_stats struct
authorTariq Toukan <tariqt@mellanox.com>
Tue, 1 Mar 2016 22:13:35 +0000 (00:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 22:27:59 +0000 (17:27 -0500)
commit5fd2fcd54837625a4605b4da2568d90f3315c5dd
tree2fdb7e30a56a9cb7b4ec92aa30a1542869cf3d69
parentced136a28a91d185262124833fed19a8ddf9692c
net/mlx5e: Move common case counters within sq_stats struct

For data cache locality considerations, we moved the nop and
csum_offload_inner within sq_stats struct as they are more
commonly accessed in xmit path.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h