diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2017-10-13 10:58:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-14 11:12:07 -0700 |
commit | 52a76235d0c4dd259cd0df503afed4757c04ba1d (patch) | |
tree | cf8334f8ce1ba811562a9d6b90f20f9eb1171310 /drivers/memory | |
parent | 258bbb1b0e594ad5f5652cb526b3c63e6a7fad3d (diff) | |
download | linux-52a76235d0c4dd259cd0df503afed4757c04ba1d.tar.bz2 |
net: stmmac: Use correct values in TQS/RQS fields
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>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions