]> git.baikalelectronics.ru Git - kernel.git/commit
lan78xx: Set flow control threshold to prevent packet loss
authorJohn Efstathiades <john.efstathiades@pebblebay.com>
Tue, 24 Aug 2021 18:56:06 +0000 (19:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Aug 2021 09:55:42 +0000 (10:55 +0100)
commit67c0a755814395e9110577a45a96f7783fc0dba5
tree089da7160beae94e9f6a4dbceae9c3480cb7ec5c
parentff3824dd3b51f44f96b900fa7531800462420f97
lan78xx: Set flow control threshold to prevent packet loss

Set threshold at which flow control is triggered to 3/4 full of
the internal Rx packet FIFO to prevent packet drops at high data
rates. The new setting reduces the number of dropped UDP frames
and TCP retransmit requests especially on less capable CPUs.

Signed-off-by: John Efstathiades <john.efstathiades@pebblebay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c