Lines Matching refs:roce
105 return container_of(handle, struct hclgevf_dev, roce); in hclgevf_ae_get_hdev()
408 struct hnae3_handle *rhandle = &hdev->roce; in hclgevf_update_link_status()
1382 struct hnae3_handle *handle = &hdev->roce; in hclgevf_notify_roce_client()
2106 struct hnae3_handle *roce = &hdev->roce; in hclgevf_init_roce_base_info() local
2109 roce->rinfo.num_vectors = hdev->num_roce_msix; in hclgevf_init_roce_base_info()
2111 if (hdev->num_msi_left < roce->rinfo.num_vectors || in hclgevf_init_roce_base_info()
2115 roce->rinfo.base_vector = hdev->roce_base_msix_offset; in hclgevf_init_roce_base_info()
2117 roce->rinfo.netdev = nic->kinfo.netdev; in hclgevf_init_roce_base_info()
2118 roce->rinfo.roce_io_base = hdev->hw.hw.io_base; in hclgevf_init_roce_base_info()
2119 roce->rinfo.roce_mem_base = hdev->hw.hw.mem_base; in hclgevf_init_roce_base_info()
2121 roce->pdev = nic->pdev; in hclgevf_init_roce_base_info()
2122 roce->ae_algo = nic->ae_algo; in hclgevf_init_roce_base_info()
2123 bitmap_copy(roce->numa_node_mask.bits, nic->numa_node_mask.bits, in hclgevf_init_roce_base_info()
2467 ret = client->ops->init_instance(&hdev->roce); in hclgevf_init_roce_client_instance()
2501 hdev->roce.client = client; in hclgevf_init_client_instance()
2521 hdev->roce.client = NULL; in hclgevf_init_client_instance()
2536 hdev->roce_client->ops->uninit_instance(&hdev->roce, 0); in hclgevf_uninit_client_instance()
2538 hdev->roce.client = NULL; in hclgevf_uninit_client_instance()