summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2021-09-29 12:35:52 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-29 13:03:54 +0300
commit0472e95ffeac8e61259eec17ab61608c6b35599d (patch)
tree9ea634a33f771b9aeda653c20c0c043fa09ab8aa /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
parentd82650be60ee92e7486f755f5387023278aa933f (diff)
downloadlinux-0472e95ffeac8e61259eec17ab61608c6b35599d.tar.xz
net: hns3: fix mixed flag HCLGE_FLAG_MQPRIO_ENABLE and HCLGE_FLAG_DCB_ENABLE
HCLGE_FLAG_MQPRIO_ENABLE is supposed to set when enable multiple TCs with tc mqprio, and HCLGE_FLAG_DCB_ENABLE is supposed to set when enable multiple TCs with ets. But the driver mixed the flags when updating the tm configuration. Furtherly, PFC should be available when HCLGE_FLAG_MQPRIO_ENABLE too, so remove the unnecessary limitation. Fixes: 5a5c90917467 ("net: hns3: add support for tc mqprio offload") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c')
0 files changed, 0 insertions, 0 deletions