/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lib.c | 895 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 D | ice_ethtool.c | 3619 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 D | ice.h | 359 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 D | ice_type.h | 288 u16 rss_table_size; /* 512 for PFs and 64 for VFs */ member
|
H A D | ice_common.c | 2126 caps->rss_table_size = number; in ice_parse_common_caps() 2129 caps->rss_table_size); in ice_parse_common_caps()
|
H A D | ice_main.c | 3670 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 D | i40e.h | 676 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 D | i40e_main.c | 1909 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 D | i40e_type.h | 245 u32 rss_table_size; member
|
H A D | i40e_common.c | 2930 p->rss_table_size = number; in i40e_parse_discover_capabilities()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.h | 1268 int rss_table_size; member
|
H A D | bnxt_ethtool.c | 1224 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 D | bnxt.c | 4613 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()
|