diff options
author | Jose Abreu | 2019-02-19 10:38:47 +0100 |
---|---|---|
committer | David S. Miller | 2019-02-22 00:42:34 +0100 |
commit | 4ccb45857c2c0776d0f72e39768295062c1a0de1 (patch) | |
tree | 3cda1a991ff5ced34b3da8c131cc8f85be2907f7 /.mailmap | |
parent | Merge branch 'net-Get-rid-of-switchdev_port_attr_get' (diff) | |
download | kernel-qcow2-linux-4ccb45857c2c0776d0f72e39768295062c1a0de1.tar.gz kernel-qcow2-linux-4ccb45857c2c0776d0f72e39768295062c1a0de1.tar.xz kernel-qcow2-linux-4ccb45857c2c0776d0f72e39768295062c1a0de1.zip |
net: stmmac: Fix NAPI poll in TX path when in multi-queue
Commit 8fce33317023 introduced the concept of NAPI per-channel and
independent cleaning of TX path.
This is currently breaking performance in some cases. The scenario
happens when all packets are being received in Queue 0 but the TX is
performed in Queue != 0.
Fix this by using different NAPI instances per each TX and RX queue, as
suggested by Florian.
Changes from v2:
- Only force restart transmission if there are pending packets
Changes from v1:
- Pass entire ring size to TX clean path (Florian)
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
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 '.mailmap')
0 files changed, 0 insertions, 0 deletions