]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitc89fb18b657b07d6c98810182057f844e71d3eee
tree2fdb7e30a56a9cb7b4ec92aa30a1542869cf3d69
parent3b6195240c52b38a2d7ecc9cc8407596d9f24663
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