diff options
author | John Efstathiades <john.efstathiades@pebblebay.com> | 2021-11-18 11:01:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-18 12:11:51 +0000 |
commit | ec4c7e12396b1a30fbacfa68425118f5b46ea878 (patch) | |
tree | 4d92b3ad036a5d92f5a8e8f04be94af9d5758dfb /arch/mips/boot/dts/ingenic/jz4725b.dtsi | |
parent | 0dd87266c1337db64cd6d3bbd1503553b922aa88 (diff) | |
download | linux-ec4c7e12396b1a30fbacfa68425118f5b46ea878.tar.gz linux-ec4c7e12396b1a30fbacfa68425118f5b46ea878.tar.bz2 linux-ec4c7e12396b1a30fbacfa68425118f5b46ea878.zip |
lan78xx: Introduce NAPI polling support
This patch introduces a NAPI-style approach for processing completed
Rx URBs that contributes to improving driver throughput and reducing
CPU load.
Packets in completed URBs are copied to NAPI SKBs and passed to the
network stack for processing. Each frame passed to the stack is one
work item in the NAPI budget.
If the NAPI budget is consumed and frames remain, they are added to
an overflow queue that is processed at the start of the next NAPI
polling cycle.
The NAPI handler is also responsible for copying pending Tx data to
Tx URBs and submitting them to the USB host controller for
transmission.
Signed-off-by: John Efstathiades <john.efstathiades@pebblebay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/mips/boot/dts/ingenic/jz4725b.dtsi')
0 files changed, 0 insertions, 0 deletions