Lines Matching refs:host_info
3191 struct ena_admin_host_info *host_info; in ena_config_host_info() local
3201 host_info = ena_dev->host_attr.host_info; in ena_config_host_info()
3203 host_info->bdf = (pdev->bus->number << 8) | pdev->devfn; in ena_config_host_info()
3204 host_info->os_type = ENA_ADMIN_OS_LINUX; in ena_config_host_info()
3205 host_info->kernel_ver = LINUX_VERSION_CODE; in ena_config_host_info()
3206 strscpy(host_info->kernel_ver_str, utsname()->version, in ena_config_host_info()
3207 sizeof(host_info->kernel_ver_str) - 1); in ena_config_host_info()
3208 host_info->os_dist = 0; in ena_config_host_info()
3209 strncpy(host_info->os_dist_str, utsname()->release, in ena_config_host_info()
3210 sizeof(host_info->os_dist_str) - 1); in ena_config_host_info()
3211 host_info->driver_version = in ena_config_host_info()
3216 host_info->num_cpus = num_online_cpus(); in ena_config_host_info()
3218 host_info->driver_supported_features = in ena_config_host_info()
3972 static void ena_update_host_info(struct ena_admin_host_info *host_info, in ena_update_host_info() argument
3975 host_info->supported_network_features[0] = in ena_update_host_info()
3977 host_info->supported_network_features[1] = in ena_update_host_info()
3985 struct ena_admin_host_info *host_info = in ena_timer_service() local
3986 adapter->ena_dev->host_attr.host_info; in ena_timer_service()
3999 if (host_info) in ena_timer_service()
4000 ena_update_host_info(host_info, adapter->netdev); in ena_timer_service()