@@ -1341,7 +1341,7 @@ static void hclge_parse_cfg(struct hclge_cfg *cfg, struct hclge_desc *desc)
HCLGE_CFG_SPEED_ABILITY_EXT_S);
cfg->speed_ability |= speed_ability_ext << SPEED_ABILITY_EXT_SHIFT;
- cfg->vlan_fliter_cap = hnae3_get_field(__le32_to_cpu(req->param[1]),
+ cfg->vlan_filter_cap = hnae3_get_field(__le32_to_cpu(req->param[1]),
HCLGE_CFG_VLAN_FLTR_CAP_M,
HCLGE_CFG_VLAN_FLTR_CAP_S);
@@ -1607,7 +1607,7 @@ static int hclge_configure(struct hclge_dev *hdev)
hdev->wanted_umv_size = hdev->ae_dev->dev_specs.umv_size;
hdev->tx_spare_buf_size = cfg.tx_spare_buf_size;
hdev->gro_en = true;
- if (cfg.vlan_fliter_cap == HCLGE_VLAN_FLTR_CAN_MDF)
+ if (cfg.vlan_filter_cap == HCLGE_VLAN_FLTR_CAN_MDF)
set_bit(HNAE3_DEV_SUPPORT_VLAN_FLTR_MDF_B, ae_dev->caps);
if (hnae3_ae_dev_fd_supported(hdev->ae_dev)) {
@@ -336,7 +336,7 @@ struct hclge_tc_info {
struct hclge_cfg {
u8 tc_num;
- u8 vlan_fliter_cap;
+ u8 vlan_filter_cap;
u16 tqp_desc_num;
u16 rx_buf_len;
u16 vf_rss_size_max;
There is a spelling mistake in struct member vlan_fliter_cap. Fix it. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 4 ++-- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)