Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A 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()
H A 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/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c109 if (ret || ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hns3_lp_setup()
175 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hns3_lp_setup_skb()
892 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hns3_set_link_ksettings()
961 if ((ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2 && in hns3_set_rss()
1066 ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2)) in hns3_set_reset()
1416 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3) in hns3_check_gl_coalesce_para()
1772 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2 || in hns3_get_module_info()
1820 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2 || in hns3_get_module_eeprom()
H A Dhns3_enet.c584 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3) { in hns3_vector_coalesce_init()
1339 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3) in hns3_tunnel_csum_bug()
1535 ae_dev->dev_version <= HNAE3_DEVICE_VERSION_V2 && in hns3_handle_vtags()
3415 if (ae_dev->dev_version > HNAE3_DEVICE_VERSION_V2) { in hns3_set_default_feature()
4033 if (unlikely(ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2)) { in hns3_parse_vlan_tag()
4938 if (ae_dev->dev_version < HNAE3_DEVICE_VERSION_V3) in hns3_update_tx_spare_buf_config()
5353 if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3) in hns3_state_init()
H A Dhnae3.h439 u32 dev_version; member
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c460 if (hdev->ae_dev->dev_version == HNAE3_DEVICE_VERSION_V2) { in hclge_mac_query_reg_num()
609 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2 || in hclge_get_sset_count()
1379 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V3) { in hclge_query_dev_specs()
3409 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclge_update_port_info()
3424 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclge_update_port_info()
3534 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V3) in hclge_set_pfc_storm_para()
3560 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V3) in hclge_get_pfc_storm_para()
4196 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclge_clear_reset_cause()
5255 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclge_set_promisc_mode()
5703 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) { in hclge_set_loopback()
[all …]
H A Dhclge_err.c1863 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2) in hclge_config_ncsi_hw_err_int()
1943 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclge_config_ppp_error_interrupt()
2173 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2) in hclge_config_ssu_hw_err_int()
2681 if (hdev->ae_dev->dev_version < HNAE3_DEVICE_VERSION_V2 || in hclge_config_rocee_ras_interrupt()
2811 if (hdev->ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V2 && in hclge_handle_hw_ras_error()
H A 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()
H A 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()