Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_cmd.c246 ae_dev->dev_version = le32_to_cpu(resp->hardware) << in hclge_comm_cmd_query_version_and_capability()
248 ae_dev->dev_version |= ae_dev->pdev->revision; in hclge_comm_cmd_query_version_and_capability()
250 if (ae_dev->dev_version == HNAE3_DEVICE_VERSION_V2) { in hclge_comm_cmd_query_version_and_capability()
663 if (!is_pf && ae_dev->dev_version < HNAE3_DEVICE_VERSION_V3) in hclge_comm_cmd_init()
Dhclge_comm_rss.c28 ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2 ? in hclge_comm_init_rss_tuple()
45 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclge_comm_rss_init_cfg()
484 if (ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2 && in hclge_comm_init_rss_tuple_cmd()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c108 if (ret || ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hns3_lp_setup()
174 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hns3_lp_setup_skb()
912 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hns3_set_link_ksettings()
981 if ((ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2 && in hns3_set_rss()
1076 ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2)) in hns3_set_reset()
1419 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3) in hns3_check_gl_coalesce_para()
1774 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2 || in hns3_get_module_info()
1822 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2 || in hns3_get_module_eeprom()
Dhnae3.h434 u32 dev_version; member
Dhns3_enet.c574 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3) { in hns3_vector_coalesce_init()
1306 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3) in hns3_tunnel_csum_bug()
1502 ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2 && in hns3_handle_vtags()
3357 if (ae_dev->dev_version > HNAE3_DEVICE_VERSION_V2) { in hns3_set_default_feature()
3975 if (unlikely(ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2)) { in hns3_parse_vlan_tag()
5270 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3) in hns3_state_init()
Dhns3_debugfs.c1402 ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2) || in hns3_dbg_init()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c567 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclgevf_get_rss()
594 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclgevf_set_rss()
616 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclgevf_set_rss_tuple()
635 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclgevf_get_rss_tuple()
794 en_bc_pmc = hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2; in hclgevf_set_promisc_mode()
2005 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclgevf_check_evt_cause()
2159 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclgevf_rss_init_hw()
2745 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V3) { in hclgevf_query_dev_specs()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_err.c1862 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclge_config_ncsi_hw_err_int()
1942 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclge_config_ppp_error_interrupt()
2172 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclge_config_ssu_hw_err_int()
2680 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2 || in hclge_config_rocee_ras_interrupt()
2810 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2 && in hclge_handle_hw_ras_error()
Dhclge_mbx.c464 hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3 ? in hclge_set_vf_vlan_cfg()
680 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V3 && in hclge_notify_vf_config()
Dhclge_tm.c847 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3) in hclge_tm_pfc_info_update()
1729 if (hdev->ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2) { in hclge_tm_get_qset_num()
1754 if (hdev->ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2) { in hclge_tm_get_pri_num()
Dhclge_main.c532 if (hdev->ae_dev->dev_version == HNAE3_DEVICE_VERSION_V2) { in hclge_mac_query_reg_num()
685 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2 || in hclge_get_sset_count()
1461 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V3) { in hclge_query_dev_specs()
3469 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclge_update_port_info()
3484 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclge_update_port_info()
4127 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclge_clear_reset_cause()
5154 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclge_set_promisc_mode()
5579 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3) in hclge_init_fd_config()
7952 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclge_set_loopback()
9506 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclge_set_vport_vlan_filter()
[all …]