Home
last modified time | relevance | path

Searched refs:rss_table_size (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/intel/ice/
H A Dice_lib.c895 vsi->rss_table_size = (u16)cap->rss_table_size; in ice_vsi_set_rss_params()
904 vsi->rss_table_size = ICE_LUT_VSI_SIZE; in ice_vsi_set_rss_params()
912 vsi->rss_table_size = ICE_LUT_VSI_SIZE; in ice_vsi_set_rss_params()
1446 lut = kzalloc(vsi->rss_table_size, GFP_KERNEL); in ice_vsi_manage_rss_lut()
1452 memcpy(lut, vsi->rss_lut_user, vsi->rss_table_size); in ice_vsi_manage_rss_lut()
1454 ice_fill_rss_lut(lut, vsi->rss_table_size, in ice_vsi_manage_rss_lut()
1458 ice_set_rss_lut(vsi, lut, vsi->rss_table_size); in ice_vsi_manage_rss_lut()
1510 lut = kzalloc(vsi->rss_table_size, GFP_KERNEL); in ice_vsi_cfg_rss_lut_key()
1515 memcpy(lut, vsi->rss_lut_user, vsi->rss_table_size); in ice_vsi_cfg_rss_lut_key()
1517 ice_fill_rss_lut(lut, vsi->rss_table_size, vsi->rss_size); in ice_vsi_cfg_rss_lut_key()
[all …]
H A Dice_ethtool.c3619 return np->vsi->rss_table_size; in ice_get_rxfh_indir_size()
3671 lut = kzalloc(vsi->rss_table_size, GFP_KERNEL); in ice_get_rxfh()
3679 err = ice_get_rss_lut(vsi, lut, vsi->rss_table_size); in ice_get_rxfh()
3684 for (i = 0; i < vsi->rss_table_size; i++) in ice_get_rxfh()
3689 for (i = 0; i < vsi->rss_table_size; i++) in ice_get_rxfh()
3761 vsi->rss_lut_user = devm_kzalloc(dev, vsi->rss_table_size, in ice_set_rxfh()
3771 for (i = 0; i < vsi->rss_table_size; i++) in ice_set_rxfh()
3774 ice_fill_rss_lut(vsi->rss_lut_user, vsi->rss_table_size, in ice_set_rxfh()
3778 err = ice_set_rss_lut(vsi, vsi->rss_lut_user, vsi->rss_table_size); in ice_set_rxfh()
3910 lut = kzalloc(vsi->rss_table_size, GFP_KERNEL); in ice_vsi_set_dflt_rss_lut()
[all …]
H A Dice.h359 u16 rss_table_size; /* HW RSS table size */ member
962 void ice_fill_rss_lut(u8 *lut, u16 rss_table_size, u16 rss_size);
H A Dice_type.h288 u16 rss_table_size; /* 512 for PFs and 64 for VFs */ member
H A Dice_common.c2126 caps->rss_table_size = number; in ice_parse_common_caps()
2129 caps->rss_table_size); in ice_parse_common_caps()
H A Dice_main.c3670 void ice_fill_rss_lut(u8 *lut, u16 rss_table_size, u16 rss_size) in ice_fill_rss_lut() argument
3674 for (i = 0; i < rss_table_size; i++) in ice_fill_rss_lut()
4017 if (func_caps->common_cap.rss_table_size) in ice_set_pf_caps()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e.h676 u16 rss_table_size; /* HW RSS table size */ member
854 u16 rss_table_size; /* HW RSS table size */ member
1162 u16 rss_table_size, u16 rss_size);
H A Di40e_main.c1909 lut = kzalloc(vsi->rss_table_size, GFP_KERNEL); in i40e_vsi_config_rss()
1917 memcpy(lut, vsi->rss_lut_user, vsi->rss_table_size); in i40e_vsi_config_rss()
1919 i40e_fill_rss_lut(pf, lut, vsi->rss_table_size, vsi->rss_size); in i40e_vsi_config_rss()
1924 ret = i40e_config_rss_aq(vsi, seed, lut, vsi->rss_table_size); in i40e_vsi_config_rss()
6223 lut = kzalloc(vsi->rss_table_size, GFP_KERNEL); in i40e_vsi_reconfig_rss()
6228 i40e_fill_rss_lut(pf, lut, vsi->rss_table_size, local_rss_size); in i40e_vsi_reconfig_rss()
6238 ret = i40e_config_rss(vsi, seed, lut, vsi->rss_table_size); in i40e_vsi_reconfig_rss()
11543 vsi->rss_table_size = (vsi->type == I40E_VSI_MAIN) ? in i40e_vsi_mem_alloc()
11544 pf->rss_table_size : 64; in i40e_vsi_mem_alloc()
12444 u16 rss_table_size, u16 rss_size) in i40e_fill_rss_lut() argument
[all …]
H A Di40e_type.h245 u32 rss_table_size; member
H A Di40e_common.c2930 p->rss_table_size = number; in i40e_parse_discover_capabilities()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h1268 int rss_table_size; member
H A Dbnxt_ethtool.c1224 vnic->rss_table_size = size + HW_HASH_KEY_SIZE; in bnxt_alloc_vnic_rss_table()
1226 vnic->rss_table_size, in bnxt_alloc_vnic_rss_table()
H A Dbnxt.c4613 dma_free_coherent(&pdev->dev, vnic->rss_table_size, in bnxt_free_vnic_attributes()
4682 vnic->rss_table_size = size + HW_HASH_KEY_SIZE; in bnxt_alloc_vnic_attributes()
4684 vnic->rss_table_size, in bnxt_alloc_vnic_attributes()
10293 dma_free_coherent(&bp->pdev->dev, vnic->rss_table_size, in bnxt_del_one_rss_ctx()