]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add queue's statistics update to service task
authorliuzhongzhu <liuzhongzhu@huawei.com>
Fri, 19 Apr 2019 03:05:46 +0000 (11:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Apr 2019 01:43:16 +0000 (18:43 -0700)
commita7a194e31d6c1a7556f0876e8fada9b0d0adfc4b
treec0233fa7c49836a621788c7aa7cd30b28ff3897f
parent3dcda288c727b9e0a02acb6fd19a884ad3ee12cc
net: hns3: add queue's statistics update to service task

This patch updates VF's TQP statistic info in the service task,
and adds a limitation to prevent update too frequently.

Signed-off-by: liuzhongzhu <liuzhongzhu@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h