From d469737146ee726bc9813c3002153f66afb2b228 Mon Sep 17 00:00:00 2001 From: Donghua Huang Date: Wed, 3 Dec 2025 14:56:53 +0800 Subject: [PATCH] net: hns3: remove VF multi-TC compat bit driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IDAEHA ---------------------------------------------------------------------- This patch drops the hnae3_set_bit() operation for HCLGE_COMM_VF_MULTI_TC_EN_B and the corresponding macro definition. Fixes: bc47b7dc2b01 ("net: hns3: add support for vf multiple tcs") Signed-off-by: Donghua Huang --- drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c | 1 - drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c b/drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c index 7c7d51d65bfa..875f1d58f7e3 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c @@ -92,7 +92,6 @@ int hclge_comm_firmware_compat_config(struct hnae3_ae_dev *ae_dev, hnae3_set_bit(compat, HCLGE_COMM_MAC_STATS_EXT_EN_B, 1); hnae3_set_bit(compat, HCLGE_COMM_SYNC_RX_RING_HEAD_EN_B, 1); hnae3_set_bit(compat, HCLGE_COMM_LLRS_FEC_EN_B, 1); - hnae3_set_bit(compat, HCLGE_COMM_VF_MULTI_TC_EN_B, 1); req->compat = cpu_to_le32(compat); } diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.h b/drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.h index 6764fbceb33a..80ff44392b28 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.h @@ -21,7 +21,6 @@ #define HCLGE_COMM_MAC_STATS_EXT_EN_B 3 #define HCLGE_COMM_SYNC_RX_RING_HEAD_EN_B 4 #define HCLGE_COMM_LLRS_FEC_EN_B 5 -#define HCLGE_COMM_VF_MULTI_TC_EN_B 7 #define hclge_comm_dev_phy_imp_supported(ae_dev) \ test_bit(HNAE3_DEV_SUPPORT_PHY_IMP_B, (ae_dev)->caps) -- Gitee