]> 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)
commit35014ef0ddb025b853bbde01c375aad34e33a04f
tree858b38433921ab5e75e44ff4398c6c19dd5cc315
parente46ba1366f1838e1959787907debcaabab3fd072
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