Lines Matching refs:host_info
3189 struct ena_admin_host_info *host_info; in ena_config_host_info() local
3199 host_info = ena_dev->host_attr.host_info; in ena_config_host_info()
3201 host_info->bdf = (pdev->bus->number << 8) | pdev->devfn; in ena_config_host_info()
3202 host_info->os_type = ENA_ADMIN_OS_LINUX; in ena_config_host_info()
3203 host_info->kernel_ver = LINUX_VERSION_CODE; in ena_config_host_info()
3204 strscpy(host_info->kernel_ver_str, utsname()->version, in ena_config_host_info()
3205 sizeof(host_info->kernel_ver_str) - 1); in ena_config_host_info()
3206 host_info->os_dist = 0; in ena_config_host_info()
3207 strncpy(host_info->os_dist_str, utsname()->release, in ena_config_host_info()
3208 sizeof(host_info->os_dist_str) - 1); in ena_config_host_info()
3209 host_info->driver_version = in ena_config_host_info()
3214 host_info->num_cpus = num_online_cpus(); in ena_config_host_info()
3216 host_info->driver_supported_features = in ena_config_host_info()
3970 static void ena_update_host_info(struct ena_admin_host_info *host_info, in ena_update_host_info() argument
3973 host_info->supported_network_features[0] = in ena_update_host_info()
3975 host_info->supported_network_features[1] = in ena_update_host_info()
3983 struct ena_admin_host_info *host_info = in ena_timer_service() local
3984 adapter->ena_dev->host_attr.host_info; in ena_timer_service()
3997 if (host_info) in ena_timer_service()
3998 ena_update_host_info(host_info, adapter->netdev); in ena_timer_service()