aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2017-10-30 11:23:33 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-01 12:28:33 +0900
commit6eb5d375cefcbd60ebb4251b150ea95d47140fe0 (patch)
treed91aceb86533f87684a98a85bef0e1223eea4764 /tools/perf/scripts/python/stackcollapse.py
parentnet: mvpp2: use the aggr txq size define everywhere (diff)
downloadlinux-dev-6eb5d375cefcbd60ebb4251b150ea95d47140fe0.tar.xz
linux-dev-6eb5d375cefcbd60ebb4251b150ea95d47140fe0.zip
net: mvpp2: simplify the Tx desc set DMA logic
Two functions were always used to set the DMA addresses in Tx descriptors, because this address is split into a base+offset in the descriptors. A mask was used to come up with the base and offset addresses and two functions were called, mvpp2_txdesc_dma_addr_set() and mvpp2_txdesc_offset_set(). This patch moves the base+offset calculation logic to mvpp2_txdesc_dma_addr_set(), and removes mvpp2_txdesc_offset_set() to simplify things. Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions