summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorJose Abreu <Jose.Abreu@synopsys.com>2017-10-13 12:58:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-31 10:13:46 +0300
commit9f2512df6356939c3c27f3364362baacb2ac388e (patch)
tree57821e7ae9d4aaeb5f110f2146095c8aa2448f57 /arch/x86
parentc3ca9064273c3d7bc1654d685d42f41ccf3744d7 (diff)
downloadlinux-9f2512df6356939c3c27f3364362baacb2ac388e.tar.xz
net: stmmac: Use correct values in TQS/RQS fields
commit 52a76235d0c4dd259cd0df503afed4757c04ba1d upstream. Currently we are using all the available fifo size in RQS and TQS fields. This will not work correctly in multi-queues IP's because total fifo size must be splitted to the enabled queues. Correct this by computing the available fifo size per queue and setting the right value in TQS and RQS fields. Signed-off-by: Jose Abreu <joabreu@synopsys.com> Cc: David S. Miller <davem@davemloft.net> Cc: Joao Pinto <jpinto@synopsys.com> Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com> Cc: Alexandre Torgue <alexandre.torgue@st.com> Signed-off-by: David S. Miller <davem@davemloft.net> Cc: Niklas Cassel <niklas.cassel@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions