]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitdb01afeb6614b75299b0ecba06b246143d4b894d
treec0233fa7c49836a621788c7aa7cd30b28ff3897f
parenta63457878b12b1be3d0a09fdc0c93b348f6161c9
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