commit | b8c17f7088310e7ee34ca61929f737045adfd449 | [log] [tgz] |
---|---|---|
author | Lin Yun Sheng <linyunsheng@huawei.com> | Wed Aug 02 17:57:37 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 03 09:21:14 2017 -0700 |
tree | 6f032b03020e149255963affbe2a6549fbde30e3 | |
parent | e9e6c2329a518d43a4734b26349bb19d8dfd7e6b [diff] |
net: hns: Add self-adaptive interrupt coalesce support in hns driver When deal with low and high throughput, it is hard to achiece both high performance and low latency. In order to achiece that, this patch calculates the rx rate, and adjust the interrupt coalesce parameter accordingly. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Tested-by: Weiwei Deng <dengweiwei@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>