diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2019-11-14 12:42:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-15 12:25:41 -0800 |
commit | c2837423cb54551302f037106830ee607b4563e0 (patch) | |
tree | fed7b9bdf80c400eb2828ecb95eb91ba8ece4677 /fs | |
parent | net: stmmac: Tune-up default coalesce settings (diff) | |
download | linux-dev-c2837423cb54551302f037106830ee607b4563e0.tar.xz linux-dev-c2837423cb54551302f037106830ee607b4563e0.zip |
net: stmmac: Rework TX Coalesce logic
Coalesce logic currently increments the number of packets and sets the
IC bit when the coalesced packets have passed a given limit. This does
not reflect very well what coalesce was meant for as we can have a large
number of packets that are coalesced and then a single one, sent later
on that has the IC bit.
Rework the logic so that it coalesces only upon a limit of packets and
sets the IC bit for large number of packets.
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions