]> git.baikalelectronics.ru Git - kernel.git/commit
net: hisilicon: Fix ping latency when deal with high throughput
authorJiangfeng Xiao <xiaojiangfeng@huawei.com>
Mon, 28 Oct 2019 05:09:46 +0000 (13:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Oct 2019 23:34:06 +0000 (16:34 -0700)
commit690ca5380be6f2877cbf80eb4106978bf846c8d0
tree9d96737ded975c8392cd16ce57341e87948487cf
parent949146a512ddaa55f2a255b0b817687cff8368df
net: hisilicon: Fix ping latency when deal with high throughput

This is due to error in over budget processing.
When dealing with high throughput, the used buffers
that exceeds the budget is not cleaned up. In addition,
it takes a lot of cycles to clean up the used buffer,
and then the buffer where the valid data is located can take effect.

Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hip04_eth.c