]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: hns3: only support tc 0 for VF
authorYunsheng Lin <linyunsheng@huawei.com>
Wed, 30 Jan 2019 20:55:45 +0000 (04:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jan 2019 22:50:03 +0000 (14:50 -0800)
commitde67a690cc27024c22328ce8ff3a2ed32f30fe7d
tree71f1735890e8617927fbd03030cb471cc13eb658
parent74354140a579008fd164241e3697d9c37e5b8989
net: hns3: only support tc 0 for VF

When the VF shares the same TC config as PF, the business
running on PF and VF must have samiliar module.

For simplicity, we are not considering VF sharing the same tc
configuration as PF use case, so this patch removes the support
of TC configuration from VF and forcing VF to just use single
TC.

Signed-off-by: Yunsheng Lin <linyunsheng@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/hns3pf/hclge_dcb.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c