Lines Matching refs:nic

103 		return container_of(handle, struct hclgevf_dev, nic);
107 return container_of(handle, struct hclgevf_dev, nic);
187 struct hnae3_handle *nic = &hdev->nic;
203 nic->port_base_vlan_state = resp_msg;
353 struct hnae3_handle *nic = &hdev->nic;
359 kinfo = &nic->kinfo;
379 hdev->htqp[i].q.handle = &hdev->nic;
409 struct hnae3_handle *handle = &hdev->nic;
447 struct hnae3_handle *nic = &hdev->nic;
450 nic->ae_algo = &ae_algovf;
451 nic->pdev = hdev->pdev;
452 bitmap_copy(nic->numa_node_mask.bits, hdev->numa_node_mask.bits,
454 nic->flags |= HNAE3_SUPPORT_VF;
455 nic->kinfo.io_base = hdev->hw.hw.io_base;
768 struct hnae3_handle *handle = &hdev->nic;
810 struct hnae3_handle *handle = &hdev->nic;
1272 struct hnae3_handle *handle = &hdev->nic;
1360 struct hnae3_handle *handle = &hdev->nic;
1372 dev_err(&hdev->pdev->dev, "notify nic client failed %d(%d)\n",
1458 /* uninitialize the nic client */
1471 /* bring up the nic client again */
1479 /* bring up the nic to enable TX/RX again */
1570 /* bring down the nic to stop any ongoing TX/RX */
1589 /* now, re-initialize the nic client and ae device */
1901 struct hnae3_handle *handle = &hdev->nic;
2107 struct hnae3_handle *nic = &hdev->nic;
2117 roce->rinfo.netdev = nic->kinfo.netdev;
2121 roce->pdev = nic->pdev;
2122 roce->ae_algo = nic->ae_algo;
2123 bitmap_copy(roce->numa_node_mask.bits, nic->numa_node_mask.bits,
2185 struct hnae3_handle *nic = &hdev->nic;
2188 ret = hclgevf_en_hw_strip_rxvtag(nic, true);
2195 return hclgevf_set_vlan_filter(&hdev->nic, htons(ETH_P_8021Q), 0,
2432 ret = client->ops->init_instance(&hdev->nic);
2441 client->ops->uninit_instance(&hdev->nic, 0);
2447 if (netif_msg_drv(&hdev->nic))
2486 hdev->nic.client = client;
2517 hdev->nic.client = NULL;
2541 /* un-init nic/unic, if this was not called by roce client */
2548 client->ops->uninit_instance(&hdev->nic, 0);
2550 hdev->nic.client = NULL;
2661 /* nic's msix numbers is always equals to the roce's. */
2948 ret = hclge_comm_rss_init_cfg(&hdev->nic, hdev->ae_dev,
3059 struct hnae3_handle *nic = &hdev->nic;
3060 struct hnae3_knic_private_info *kinfo = &nic->kinfo;
3271 struct hnae3_handle *nic = &hdev->nic;
3298 nic->port_base_vlan_state = state;
3300 nic->port_base_vlan_state = HNAE3_PORT_BASE_VLAN_ENABLE;