aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorPetri Gynther <pgynther@google.com>2016-04-05 17:00:01 -0400
committerDavid S. Miller <davem@davemloft.net>2016-04-05 19:33:52 -0400
commit7ee4062562bae8f248f0aa72dfb3023ddea65942 (patch)
tree4ec3338f6e525d7f047c33656c96fb81e8eea2a4 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent824ba603573d910e32df75fe6a5e7d7ec2a0a6a7 (diff)
net: bcmgenet: cleanup for dmadesc_set()
dmadesc_set() is used for setting the Tx buffer DMA address, length, and status bits on a Tx ring descriptor when a frame is being Tx'ed. Always set the Tx buffer DMA address first, before updating the length and status bits, i.e. giving the Tx descriptor to the hardware. The reason this is a cleanup rather than a fix is that the hardware won't transmit anything from a Tx ring until the TDMA producer index has been incremented. As long as the dmadesc_set() writes complete before the TDMA producer index write, life is good. Signed-off-by: Petri Gynther <pgynther@google.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions