Home
last modified time | relevance | path

Searched refs:dev_version (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_cmd.c357 ae_dev->dev_version = le32_to_cpu(resp->hardware) << in hclgevf_cmd_query_version_and_capability()
359 ae_dev->dev_version |= hdev->pdev->revision; in hclgevf_cmd_query_version_and_capability()
361 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclgevf_cmd_query_version_and_capability()
H A Dhclgevf_main.c749 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclgevf_get_rss()
814 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclgevf_set_rss()
883 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclgevf_set_rss_tuple()
920 if (hdev->ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2 && in hclgevf_set_rss_tuple()
961 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclgevf_get_rss_tuple()
1176 en_bc_pmc = hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2; in hclgevf_set_promisc_mode()
2346 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclgevf_check_evt_cause()
2488 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclgevf_rss_init_cfg()
2500 hdev->ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2 ? in hclgevf_rss_init_cfg()
2516 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclgevf_rss_init_hw()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.c377 ae_dev->dev_version = le32_to_cpu(resp->hardware) << in hclge_cmd_query_version_and_capability()
379 ae_dev->dev_version |= hdev->pdev->revision; in hclge_cmd_query_version_and_capability()
381 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclge_cmd_query_version_and_capability()
H A Dhclge_err.c732 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclge_config_ncsi_hw_err_int()
812 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclge_config_ppp_error_interrupt()
1045 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclge_config_ssu_hw_err_int()
1554 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2 || in hclge_config_rocee_ras_interrupt()
1667 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2 && in hclge_handle_hw_ras_error()
H A Dhclge_main.c743 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2 || in hclge_get_sset_count()
1410 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V3) { in hclge_query_dev_specs()
2970 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclge_update_port_info()
2982 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclge_update_port_info()
3647 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclge_clear_reset_cause()
4505 if (hdev->ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2 && in hclge_set_rss_tuple()
4669 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclge_rss_init_cfg()
4686 hdev->ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2 ? in hclge_rss_init_cfg()
4878 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclge_set_promisc_mode()
6892 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclge_set_loopback()
[all …]
H A Dhclge_tm.c712 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3) in hclge_tm_pfc_info_update()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c102 if (ret || ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hns3_lp_setup()
171 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hns3_lp_setup_skb()
815 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hns3_set_link_ksettings()
884 if ((ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2 && in hns3_set_rss()
1442 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2 || in hns3_get_module_info()
1490 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2 || in hns3_get_module_eeprom()
H A Dhnae3.h312 u32 dev_version; member
H A Dhns3_enet.c641 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2 && in hns3_enable_vlan_filter()
2348 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hns3_set_default_feature()
2868 if (unlikely(ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2)) { in hns3_parse_vlan_tag()