summaryrefslogtreecommitdiff
path: root/lib/lz4
diff options
context:
space:
mode:
authorIoana Radulescu <ruxandra.radulescu@nxp.com>2018-03-23 08:44:13 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-23 16:01:57 +0100
commit009749d73186e0b02bbff6c26ef5e059285b7860 (patch)
treef8568c6f95629ddbd230580479ba5f4e175aba91 /lib/lz4
parentfa722c0039adc833983eb09dc94d355fde3d8462 (diff)
downloadlinux-009749d73186e0b02bbff6c26ef5e059285b7860.tar.gz
linux-009749d73186e0b02bbff6c26ef5e059285b7860.tar.xz
staging: fsl-dpaa2/eth: Change max number of Tx queues
We use DPAA2_ETH_MAX_TX_QUEUES to dimension the array holding information on Tx queues. At most, we can have one queue per cpu. Until now we used the NR_CPUS macro to set the upper limit on number of Tx queues. However, the platforms that the DPAA2 Ethernet driver supports have at most 16 cores, whereas NR_CPUS is Kconfigurable and can be much higher. Avoid allocating memory we'll never use, by setting DPAA2_ETH_MAX_TX_QUEUES to 16. Same for DPAA2_ETH_MAX_DPCONS. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/lz4')
0 files changed, 0 insertions, 0 deletions