Home
last modified time | relevance | path

Searched refs:rss_size (Results 1 – 17 of 17) sorted by relevance

/drivers/net/ethernet/cavium/thunder/
Dnic.h147 u16 rss_size; member
534 struct rss_sz_msg rss_size; member
Dnicvf_main.c234 nic->rss_info.rss_size = mbx.rss_size.ind_tbl_size; in nicvf_handle_mbx_intr()
321 mbx.rss_size.msg = NIC_MBOX_MSG_RSS_SIZE; in nicvf_get_rss_size()
322 mbx.rss_size.vf_id = nic->vf_id; in nicvf_get_rss_size()
330 int ind_tbl_len = rss->rss_size; in nicvf_config_rss()
384 rss->hash_bits = ilog2(rounddown_pow_of_two(rss->rss_size)); in nicvf_rss_init()
386 for (idx = 0; idx < rss->rss_size; idx++) in nicvf_rss_init()
Dnicvf_ethtool.c648 return nic->rss_info.rss_size; in nicvf_get_rxfh_indir_size()
659 for (idx = 0; idx < rss->rss_size; idx++) in nicvf_get_rxfh()
689 for (idx = 0; idx < rss->rss_size; idx++) in nicvf_set_rxfh()
Dnic_main.c591 mbx.rss_size.msg = NIC_MBOX_MSG_RSS_SIZE; in nic_send_rss_size()
592 mbx.rss_size.ind_tbl_size = nic->hw->rss_ind_tbl_size; in nic_send_rss_size()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c394 kinfo->rss_size in hclge_tm_vport_tc_info_update()
399 vport->alloc_rss_size = kinfo->rss_size; in hclge_tm_vport_tc_info_update()
404 kinfo->tc_info[i].tqp_offset = i * kinfo->rss_size; in hclge_tm_vport_tc_info_update()
405 kinfo->tc_info[i].tqp_count = kinfo->rss_size; in hclge_tm_vport_tc_info_update()
Dhclge_main.c1200 kinfo->rss_size in hclge_knic_setup()
1202 kinfo->num_tqps = kinfo->rss_size * kinfo->num_tc; in hclge_knic_setup()
1207 kinfo->tc_info[i].tqp_offset = i * kinfo->rss_size; in hclge_knic_setup()
1208 kinfo->tc_info[i].tqp_count = kinfo->rss_size; in hclge_knic_setup()
2615 u16 rss_size = 0, roundup_size; in hclge_rss_init_hw() local
2636 rss_size = vport[j].alloc_rss_size; in hclge_rss_init_hw()
2657 if (rss_size > HCLGE_RSS_TC_SIZE_7 || rss_size == 0) { in hclge_rss_init_hw()
2660 rss_size); in hclge_rss_init_hw()
2665 roundup_size = roundup_pow_of_two(rss_size); in hclge_rss_init_hw()
2676 tc_offset[i] = rss_size * i; in hclge_rss_init_hw()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h97 u16 rss_size; /* size of VI's RSS table slice */ member
Dt4vf_hw.c492 pi->rss_size = FW_VI_CMD_RSSSIZE_G(be16_to_cpu(vi_rpl.rsssize_pkd)); in t4vf_port_init()
Dcxgb4vf_main.c651 0, pi->rss_size, rss, pi->nqsets); in setup_rss()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1271 return pi->rss_size; in get_rss_table_size()
1277 unsigned int n = pi->rss_size; in get_rss_table()
1305 for (i = 0; i < pi->rss_size; i++) in set_rss_table()
Dcxgb4.h513 u16 rss_size; /* size of VI's RSS table slice */ member
1558 unsigned int *rss_size);
Dcxgb4_main.c685 rss = kmalloc(pi->rss_size * sizeof(u16), GFP_KERNEL); in cxgb4_write_rss()
690 for (i = 0; i < pi->rss_size; i++, queues++) in cxgb4_write_rss()
694 pi->rss_size, rss, pi->rss_size); in cxgb4_write_rss()
726 for (j = 0; j < pi->rss_size; j++) in setup_rss()
4467 pi->rss = kcalloc(pi->rss_size, sizeof(u16), GFP_KERNEL); in init_rss()
Dt4_hw.c7192 unsigned int *rss_size) in t4_alloc_vi() argument
7222 if (rss_size) in t4_alloc_vi()
7223 *rss_size = FW_VI_CMD_RSSSIZE_G(be16_to_cpu(c.rsssize_pkd)); in t4_alloc_vi()
8717 unsigned int rss_size; in t4_init_portinfo() local
8775 ret = t4_alloc_vi(pi->adapter, mbox, port, pf, vf, 1, mac, &rss_size); in t4_init_portinfo()
8782 pi->rss_size = rss_size; in t4_init_portinfo()
/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h387 u16 rss_size; /* Allocated RSS queues */ member
/drivers/net/ethernet/intel/i40e/
Di40e.h648 u16 rss_size; /* Allocated RSS queues */ member
855 u16 rss_table_size, u16 rss_size);
Di40e_main.c8535 if (!vsi->rss_size) in i40e_vsi_config_rss()
8536 vsi->rss_size = min_t(int, pf->alloc_rss_size, in i40e_vsi_config_rss()
8538 if (!vsi->rss_size) in i40e_vsi_config_rss()
8550 i40e_fill_rss_lut(pf, lut, vsi->rss_table_size, vsi->rss_size); in i40e_vsi_config_rss()
8695 u16 rss_table_size, u16 rss_size) in i40e_fill_rss_lut() argument
8700 lut[i] = i % rss_size; in i40e_fill_rss_lut()
8733 if (!vsi->rss_size) { in i40e_pf_config_rss()
8737 vsi->rss_size = min_t(int, pf->alloc_rss_size, qcount); in i40e_pf_config_rss()
8739 if (!vsi->rss_size) in i40e_pf_config_rss()
8750 i40e_fill_rss_lut(pf, lut, vsi->rss_table_size, vsi->rss_size); in i40e_pf_config_rss()
[all …]
Di40e_ethtool.c4046 vsi->rss_size); in i40e_set_rxfh()