Lines Matching refs:host_info
3152 struct ena_admin_host_info *host_info; in ena_config_host_info() local
3162 host_info = ena_dev->host_attr.host_info; in ena_config_host_info()
3164 host_info->bdf = (pdev->bus->number << 8) | pdev->devfn; in ena_config_host_info()
3165 host_info->os_type = ENA_ADMIN_OS_LINUX; in ena_config_host_info()
3166 host_info->kernel_ver = LINUX_VERSION_CODE; in ena_config_host_info()
3167 strscpy(host_info->kernel_ver_str, utsname()->version, in ena_config_host_info()
3168 sizeof(host_info->kernel_ver_str) - 1); in ena_config_host_info()
3169 host_info->os_dist = 0; in ena_config_host_info()
3170 strncpy(host_info->os_dist_str, utsname()->release, in ena_config_host_info()
3171 sizeof(host_info->os_dist_str) - 1); in ena_config_host_info()
3172 host_info->driver_version = in ena_config_host_info()
3177 host_info->num_cpus = num_online_cpus(); in ena_config_host_info()
3179 host_info->driver_supported_features = in ena_config_host_info()
3933 static void ena_update_host_info(struct ena_admin_host_info *host_info, in ena_update_host_info() argument
3936 host_info->supported_network_features[0] = in ena_update_host_info()
3938 host_info->supported_network_features[1] = in ena_update_host_info()
3946 struct ena_admin_host_info *host_info = in ena_timer_service() local
3947 adapter->ena_dev->host_attr.host_info; in ena_timer_service()
3960 if (host_info) in ena_timer_service()
3961 ena_update_host_info(host_info, adapter->netdev); in ena_timer_service()