]> 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)
commit00a868f4b5be77f06798b0dc27cadf6aa1fb68ee
tree2fdb7e30a56a9cb7b4ec92aa30a1542869cf3d69
parentaf89da3f578af3ada84a63ac84e5650e96214be2
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