Home
last modified time | relevance | path

Searched refs:rss_lut (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.c4352 rss_data->rss_lut[i] = i % num_active_rxq; in idpf_fill_dflt_rss_lut()
4353 rss_data->cached_lut[i] = rss_data->rss_lut[i]; in idpf_fill_dflt_rss_lut()
4372 rss_data->rss_lut = kzalloc(lut_size, GFP_KERNEL); in idpf_init_rss()
4373 if (!rss_data->rss_lut) in idpf_init_rss()
4378 kfree(rss_data->rss_lut); in idpf_init_rss()
4379 rss_data->rss_lut = NULL; in idpf_init_rss()
4402 kfree(rss_data->rss_lut); in idpf_deinit_rss()
4403 rss_data->rss_lut = NULL; in idpf_deinit_rss()
H A Didpf_lib.c1413 if (vport_config->user_config.rss_data.rss_lut) in idpf_vport_open()
2079 memcpy(rss_data->rss_lut, rss_data->cached_lut, lut_size); in idpf_vport_manage_rss_lut()
2084 memcpy(rss_data->cached_lut, rss_data->rss_lut, lut_size); in idpf_vport_manage_rss_lut()
2087 memset(rss_data->rss_lut, 0, lut_size); in idpf_vport_manage_rss_lut()
H A Didpf.h366 u32 *rss_lut; member
H A Didpf_ethtool.c111 rxfh->indir[i] = rss_data->rss_lut[i]; in idpf_get_rxfh()
165 rss_data->rss_lut[lut] = rxfh->indir[lut]; in idpf_set_rxfh()
H A Didpf_virtchnl.c2378 rl->lut[i] = cpu_to_le32(rss_data->rss_lut[i]); in idpf_send_get_set_rss_lut_msg()
2399 kfree(rss_data->rss_lut); in idpf_send_get_set_rss_lut_msg()
2401 rss_data->rss_lut = kzalloc(lut_buf_size, GFP_KERNEL); in idpf_send_get_set_rss_lut_msg()
2402 if (!rss_data->rss_lut) { in idpf_send_get_set_rss_lut_msg()
2408 memcpy(rss_data->rss_lut, recv_rl->lut, rss_data->rss_lut_size); in idpf_send_get_set_rss_lut_msg()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf.h437 u8 *rss_lut; member
H A Diavf_main.c1681 adapter->rss_lut, adapter->rss_lut_size); in iavf_config_rss_aq()
1709 dw = (u32 *)adapter->rss_lut; in iavf_config_rss_reg()
1747 adapter->rss_lut[i] = i % adapter->num_active_queues; in iavf_fill_rss_lut()
1924 kfree(adapter->rss_lut); in iavf_free_rss()
1925 adapter->rss_lut = NULL; in iavf_free_rss()
2678 adapter->rss_lut = kzalloc(adapter->rss_lut_size, GFP_KERNEL); in iavf_init_config_adapter()
2679 if (!adapter->rss_key || !adapter->rss_lut) { in iavf_init_config_adapter()
H A Diavf_ethtool.c1755 rxfh->indir[i] = (u32)adapter->rss_lut[i]; in iavf_get_rxfh()
1802 adapter->rss_lut[i] = (u8)(rxfh->indir[i]); in iavf_set_rxfh()
H A Diavf_virtchnl.c1134 memcpy(vrl->lut, adapter->rss_lut, adapter->rss_lut_size); in iavf_set_rss_lut()