Searched refs:rss_data (Results 1 – 5 of 5) sorted by relevance
53 return user_config->rss_data.rss_key_size; in idpf_get_rxfh_key_size()72 return user_config->rss_data.rss_lut_size; in idpf_get_rxfh_indir_size()86 struct idpf_rss_data *rss_data; in idpf_get_rxfh() local100 rss_data = &adapter->vport_config[np->vport_idx]->user_config.rss_data; in idpf_get_rxfh()107 memcpy(rxfh->key, rss_data->rss_key, rss_data->rss_key_size); in idpf_get_rxfh()110 for (i = 0; i < rss_data->rss_lut_size; i++) in idpf_get_rxfh()111 rxfh->indir[i] = rss_data->rss_lut[i]; in idpf_get_rxfh()134 struct idpf_rss_data *rss_data; in idpf_set_rxfh() local150 rss_data = &adapter->vport_config[vport->idx]->user_config.rss_data; in idpf_set_rxfh()161 memcpy(rss_data->rss_key, rxfh->key, rss_data->rss_key_size); in idpf_set_rxfh()[all …]
950 struct idpf_rss_data *rss_data; in idpf_vport_rel() local956 rss_data = &vport_config->user_config.rss_data; in idpf_vport_rel()957 kfree(rss_data->rss_key); in idpf_vport_rel()958 rss_data->rss_key = NULL; in idpf_vport_rel()1097 struct idpf_rss_data *rss_data; in idpf_vport_alloc() local1142 rss_data = &adapter->vport_config[idx]->user_config.rss_data; in idpf_vport_alloc()1143 rss_data->rss_key = kzalloc(rss_data->rss_key_size, GFP_KERNEL); in idpf_vport_alloc()1144 if (!rss_data->rss_key) { in idpf_vport_alloc()1150 netdev_rss_key_fill((void *)rss_data->rss_key, rss_data->rss_key_size); in idpf_vport_alloc()1413 if (vport_config->user_config.rss_data.rss_lut) in idpf_vport_open()[all …]
2350 struct idpf_rss_data *rss_data; in idpf_send_get_set_rss_lut_msg() local2355 rss_data = in idpf_send_get_set_rss_lut_msg()2356 &vport->adapter->vport_config[vport->idx]->user_config.rss_data; in idpf_send_get_set_rss_lut_msg()2357 buf_size = struct_size(rl, lut, rss_data->rss_lut_size); in idpf_send_get_set_rss_lut_msg()2376 rl->lut_entries = cpu_to_le16(rss_data->rss_lut_size); in idpf_send_get_set_rss_lut_msg()2377 for (i = 0; i < rss_data->rss_lut_size; i++) in idpf_send_get_set_rss_lut_msg()2378 rl->lut[i] = cpu_to_le32(rss_data->rss_lut[i]); in idpf_send_get_set_rss_lut_msg()2395 if (rss_data->rss_lut_size == le16_to_cpu(recv_rl->lut_entries)) in idpf_send_get_set_rss_lut_msg()2398 rss_data->rss_lut_size = le16_to_cpu(recv_rl->lut_entries); in idpf_send_get_set_rss_lut_msg()2399 kfree(rss_data->rss_lut); in idpf_send_get_set_rss_lut_msg()[all …]
4336 struct idpf_rss_data *rss_data; in idpf_fill_dflt_rss_lut() local4339 rss_data = &adapter->vport_config[vport->idx]->user_config.rss_data; in idpf_fill_dflt_rss_lut()4341 for (i = 0; i < rss_data->rss_lut_size; i++) { in idpf_fill_dflt_rss_lut()4342 rss_data->rss_lut[i] = i % num_active_rxq; in idpf_fill_dflt_rss_lut()4343 rss_data->cached_lut[i] = rss_data->rss_lut[i]; in idpf_fill_dflt_rss_lut()4356 struct idpf_rss_data *rss_data; in idpf_init_rss() local4359 rss_data = &adapter->vport_config[vport->idx]->user_config.rss_data; in idpf_init_rss()4361 lut_size = rss_data->rss_lut_size * sizeof(u32); in idpf_init_rss()4362 rss_data->rss_lut = kzalloc(lut_size, GFP_KERNEL); in idpf_init_rss()4363 if (!rss_data->rss_lut) in idpf_init_rss()[all …]
386 struct idpf_rss_data rss_data; member