Lines Matching refs:rss_data
4336 struct idpf_rss_data *rss_data; in idpf_fill_dflt_rss_lut() local
4339 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() local
4359 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()
4366 rss_data->cached_lut = kzalloc(lut_size, GFP_KERNEL); in idpf_init_rss()
4367 if (!rss_data->cached_lut) { in idpf_init_rss()
4368 kfree(rss_data->rss_lut); in idpf_init_rss()
4369 rss_data->rss_lut = NULL; in idpf_init_rss()
4387 struct idpf_rss_data *rss_data; in idpf_deinit_rss() local
4389 rss_data = &adapter->vport_config[vport->idx]->user_config.rss_data; in idpf_deinit_rss()
4390 kfree(rss_data->cached_lut); in idpf_deinit_rss()
4391 rss_data->cached_lut = NULL; in idpf_deinit_rss()
4392 kfree(rss_data->rss_lut); in idpf_deinit_rss()
4393 rss_data->rss_lut = NULL; in idpf_deinit_rss()