]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: refine function hclge_tm_pri_q_qs_cfg()
authorGuangbin Huang <huangguangbin2@huawei.com>
Mon, 29 Nov 2021 14:00:24 +0000 (22:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Nov 2021 14:26:17 +0000 (14:26 +0000)
commit8efce3ce7e5d228317aa3e895e050b004749bcdf
tree858b38433921ab5e75e44ff4398c6c19dd5cc315
parentd75dcff8113e6f88859986f19497abadcc2bc37a
net: hns3: refine function hclge_tm_pri_q_qs_cfg()

This patch encapsulates the process code for queue to qset config of two
mode(tc based and vnet based) into two function, for making code more
concise.

Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c