summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb
diff options
context:
space:
mode:
authorIoana Radulescu <ruxandra.radulescu@nxp.com>2018-01-05 05:04:32 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-08 16:47:23 +0100
commit7ec0596f891eb37e9d6a69d6bf8e8d62c8a43cf1 (patch)
tree9f0a913d93f64bfdcbe53e13264883ace4c99570 /drivers/staging/sm750fb
parent1f4953836a53b34b8156df0bba2772bb977a9187 (diff)
downloadop-kernel-dev-7ec0596f891eb37e9d6a69d6bf8e8d62c8a43cf1.zip
op-kernel-dev-7ec0596f891eb37e9d6a69d6bf8e8d62c8a43cf1.tar.gz
staging: fsl-dpaa2/eth: Use affine DPIO services
Use the newly added DPIO service API to map cpu-affine DPIO services to channels. The DPAA2 Ethernet driver already had mappings of frame queues and channels to cpus, but had no control over the DPIOs used. We can now ensure full affinity of hotpath hardware resources to cores, which improves performance and almost eliminates some resource contentions (e.g. enqueue/dequeue busy counters should be close to zero from now on). Making the pull channel operation core affine brings the most significant benefits. This ensures the same DPIO service will be used for all dequeue commands issued for a certain frame queue, which is in line with the way hardware is optimized. Additionally, we also use affine DPIOs for the frame enqueue and buffer release operations in order to avoid resource contention. dpaa2_io_service_register() and dpaa2_io_service_rearm() functions receive an affine DPIO as argument mostly for uniformity, but this doesn't change the previous functionality. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud