net: hns3: create new set of common tqp stats APIs for PF and VF reuse
mainline inclusion from mainline-master commit 287db5c4 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4Q02P CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=287db5c40d15 ---------------------------------------------------------------------- This patch creates new set of common tqp stats structures and APIs for PF and VF tqp stats module. Subfunctions such as get tqp stats, update tqp stats and reset tqp stats are inclued in this patch. These new common tqp stats APIs will be used to replace the old PF and VF tqp stats APIs in next patches. Signed-off-by:Jie Wang <wangjie125@huawei.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Guangbin Huang <huangguangbin2@huawei.com> Reviewed-by:
Jian Shen <shenjian15@huawei.com> Reviewed-by:
Yue Haibing <yuehaibing@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment