diff options
author | Peng Li <lipeng321@huawei.com> | 2018-12-18 19:37:54 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-18 12:01:01 -0800 |
commit | 7445565cd064679421e3cf4d440589ee723f6c08 (patch) | |
tree | a4423748b8fe167bf843ebfc1b017b0a1ea1184f /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c | |
parent | net: hns3: fix incomplete uninitialization of IRQ in the hns3_nic_uninit_vector_data() (diff) | |
download | linux-dev-7445565cd064679421e3cf4d440589ee723f6c08.tar.xz linux-dev-7445565cd064679421e3cf4d440589ee723f6c08.zip |
net: hns3: update coalesce param per second
coalesce param updates every 100 napi times, it may update a little
late if ping test after a high rate flow, may over napi poll is called
100 times as ping test sends packets every second.
This patch updates coalesce param every second, instead with every
100 napi times. It can not update the param 100% in time, but the
lag time is very short.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c')
0 files changed, 0 insertions, 0 deletions