diff options
author | Eric Dumazet <edumazet@google.com> | 2014-10-05 12:35:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-06 01:04:15 -0400 |
commit | 98b1634941e3efb0334f794efc79702839993d86 (patch) | |
tree | d5cc5f5e6fd9984c3ec59652de96fe9824157d22 /tools/net | |
parent | 7dfa4b414d4eec8da56e44fb2b4aea3e549b092f (diff) | |
download | talos-op-linux-98b1634941e3efb0334f794efc79702839993d86.tar.gz talos-op-linux-98b1634941e3efb0334f794efc79702839993d86.zip |
net/mlx4_en: Align tx path structures to cache lines
Reorganize struct mlx4_en_tx_ring to have:
- One cache line containing last_nr_txbb & cons & wake_queue, used by tx
completion.
- One cache line containing fields dirtied by mlx4_en_xmit()
- Following part is read mostly and shared by cpus.
Align struct mlx4_en_tx_info to a cache line
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/net')
0 files changed, 0 insertions, 0 deletions