commit | 6a4e81211f475561ed87c613216f981fbef8b7fc | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Sun Oct 05 12:35:11 2014 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 06 01:04:15 2014 -0400 |
tree | ced59807448f488d408e5fe28a89b563357676bb | |
parent | 98b1634941e3efb0334f794efc79702839993d86 [diff] |
net/mlx4_en: Avoid calling bswap in tx fast path - doorbell_qpn is stored in the cpu_to_be32() way to avoid bswap() in fast path. - mdev->mr.key stored in ring->mr_key to also avoid bswap() and access to cold 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>