summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>2018-11-14 14:48:35 +0300
committerDavid S. Miller <davem@davemloft.net>2018-11-17 07:12:31 +0300
commitb0e4f37b0175e60a475a6b94c2b7f010860dc357 (patch)
treedcffeb2956d6f0495327c8a1c9b90273a46ad995 /tools/perf/scripts/python/net_dropmonitor.py
parent32764c66faba8fff950346776eb46801b67c610f (diff)
downloadlinux-b0e4f37b0175e60a475a6b94c2b7f010860dc357.tar.xz
dpaa2-eth: Don't use multiple queues per channel
The DPNI object on which we build a network interface has a certain number of {Rx, Tx, Tx confirmation} frame queues as resources. The default hardware setup offers one queue of each type, as well as one DPCON channel, for each core available in the system. There are however cases where the number of queues is greater than the number of cores or channels. Until now, we configured and used all the frame queues associated with a DPNI, even if it meant assigning multiple queues of one type to the same channel. Update the driver to only use a number of queues equal to the number of channels, ensuring each channel will contain exactly one Rx and one Tx confirmation queue. >From the user viewpoint, this change is completely transparent. Performance wise there is no impact in most scenarios. In case the number of queues is larger than and not a multiple of the number of channels, Rx hash distribution offers now better load balancing between cores, which can have a positive impact on overall system performance. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions