aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAmir Vadai <[email protected]>2014-12-22 10:21:57 +0200
committerDavid S. Miller <[email protected]>2014-12-22 16:33:10 -0500
commit492f5add4be84652bbe13da8a250d60c6856a5c5 (patch)
tree2be9bbac102868cb3d3bcac57bcc60ed222a4395 /tools/perf/util/scripting-engines/trace-event-python.c
parentea3c9e13afe739f1ff31130cea57084cfe8c5dcd (diff)
net/mlx4_en: Doorbell is byteswapped in Little Endian archs
iowrite32() will byteswap it's argument on big endian archs. iowrite32be() will byteswap on little endian archs. Since we don't want to do this unnecessary byteswap on the fast path, doorbell is stored in the NIC's native endianness. Using the right iowrite() according to the arch endianness. CC: Wei Yang <[email protected]> CC: David Laight <[email protected]> Fixes: 6a4e812 ("net/mlx4_en: Avoid calling bswap in tx fast path") Signed-off-by: Amir Vadai <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions