Lines Matching refs:lan_info

99 	cdev->client->ops->virtchnl_receive(&cdev->lan_info, cdev->client,  in i40e_notify_client_of_vf_msg()
128 memcpy(&cdev->lan_info.params, &params, sizeof(struct i40e_params)); in i40e_notify_client_of_l2_param_changes()
129 cdev->client->ops->l2_param_change(&cdev->lan_info, cdev->client, in i40e_notify_client_of_l2_param_changes()
184 cdev->client->ops->close(&cdev->lan_info, cdev->client, reset); in i40e_notify_client_of_netdev_close()
186 i40e_client_release_qvlist(&cdev->lan_info); in i40e_notify_client_of_netdev_close()
211 cdev->client->ops->vf_reset(&cdev->lan_info, cdev->client, vf_id); in i40e_notify_client_of_vf_reset()
237 cdev->client->ops->vf_enable(&cdev->lan_info, cdev->client, num_vfs); in i40e_notify_client_of_vf_enable()
263 capable = cdev->client->ops->vf_capable(&cdev->lan_info, in i40e_vf_client_capable()
277 cdev->lan_info.msix_count = pf->num_iwarp_msix; in i40e_client_update_msix_info()
278 cdev->lan_info.msix_entries = &pf->msix_entries[pf->iwarp_base_vector]; in i40e_client_update_msix_info()
347 cdev->lan_info.pf = (void *)pf; in i40e_client_add_instance()
348 cdev->lan_info.netdev = vsi->netdev; in i40e_client_add_instance()
349 cdev->lan_info.pcidev = pf->pdev; in i40e_client_add_instance()
350 cdev->lan_info.fid = pf->hw.pf_id; in i40e_client_add_instance()
351 cdev->lan_info.ftype = I40E_CLIENT_FTYPE_PF; in i40e_client_add_instance()
352 cdev->lan_info.hw_addr = pf->hw.hw_addr; in i40e_client_add_instance()
353 cdev->lan_info.ops = &i40e_lan_ops; in i40e_client_add_instance()
354 cdev->lan_info.version.major = I40E_CLIENT_VERSION_MAJOR; in i40e_client_add_instance()
355 cdev->lan_info.version.minor = I40E_CLIENT_VERSION_MINOR; in i40e_client_add_instance()
356 cdev->lan_info.version.build = I40E_CLIENT_VERSION_BUILD; in i40e_client_add_instance()
357 cdev->lan_info.fw_maj_ver = pf->hw.aq.fw_maj_ver; in i40e_client_add_instance()
358 cdev->lan_info.fw_min_ver = pf->hw.aq.fw_min_ver; in i40e_client_add_instance()
359 cdev->lan_info.fw_build = pf->hw.aq.fw_build; in i40e_client_add_instance()
362 if (i40e_client_get_params(vsi, &cdev->lan_info.params)) in i40e_client_add_instance()
365 mac = list_first_entry(&cdev->lan_info.netdev->dev_addrs.list, in i40e_client_add_instance()
368 ether_addr_copy(cdev->lan_info.lanmac, mac->addr); in i40e_client_add_instance()
374 cdev->lan_info.msix_count = pf->num_iwarp_msix; in i40e_client_add_instance()
375 cdev->lan_info.msix_entries = &pf->msix_entries[pf->iwarp_base_vector]; in i40e_client_add_instance()
377 if (i40e_register_auxiliary_dev(&cdev->lan_info, "iwarp")) in i40e_client_add_instance()
431 ret = client->ops->open(&cdev->lan_info, client); in i40e_client_subtask()
444 i40e_client_update_vsi_ctxt(&cdev->lan_info, client, in i40e_client_subtask()
448 i40e_client_update_vsi_ctxt(&cdev->lan_info, client, in i40e_client_subtask()
502 struct auxiliary_device *aux_dev = pf->cinst->lan_info.aux_dev; in i40e_lan_del_device()
748 cdev->client->ops->close(&cdev->lan_info, cdev->client, false); in i40e_client_device_unregister()
750 i40e_client_release_qvlist(&cdev->lan_info); in i40e_client_device_unregister()