Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c205 if (old_cfg->numapps == I40E_DCBX_MAX_APPS) in i40e_dcbnl_ieee_setapp()
222 pf->tmp_cfg.app[pf->tmp_cfg.numapps++] = new_app; in i40e_dcbnl_ieee_setapp()
261 if (old_cfg->numapps == 1) in i40e_dcbnl_ieee_delapp()
268 for (i = 1; i < pf->tmp_cfg.numapps; i++) { in i40e_dcbnl_ieee_delapp()
281 if (i == pf->tmp_cfg.numapps) in i40e_dcbnl_ieee_delapp()
284 pf->tmp_cfg.numapps--; in i40e_dcbnl_ieee_delapp()
286 for (j = i; j < pf->tmp_cfg.numapps; j++) in i40e_dcbnl_ieee_delapp()
900 for (i = 0; i < dcbxcfg->numapps; i++) { in i40e_dcbnl_set_all()
974 for (i = 0; i < cfg->numapps; i++) { in i40e_dcbnl_find_app()
1004 for (i = 0; i < old_cfg->numapps; i++) { in i40e_dcbnl_flush_apps()
Di40e_dcb.c221 dcbcfg->numapps = i; in i40e_parse_ieee_app_tlv()
350 dcbcfg->numapps = length / sizeof(*app); in i40e_parse_cee_app_tlv()
352 if (!dcbcfg->numapps) in i40e_parse_cee_app_tlv()
354 if (dcbcfg->numapps > I40E_DCBX_MAX_APPS) in i40e_parse_cee_app_tlv()
355 dcbcfg->numapps = I40E_DCBX_MAX_APPS; in i40e_parse_cee_app_tlv()
357 for (i = 0; i < dcbcfg->numapps; i++) { in i40e_parse_cee_app_tlv()
613 dcbcfg->numapps = I40E_CEE_OPER_MAX_APPS; in i40e_cee_to_dcb_v1_config()
727 dcbcfg->numapps = i; in i40e_cee_to_dcb_config()
1134 if (dcbcfg->numapps == 0) in i40e_add_ieee_app_pri_tlv()
1150 while (i < dcbcfg->numapps) { in i40e_add_ieee_app_pri_tlv()
Di40e_debugfs.c1090 "port app_table: num_apps=%d\n", cfg->numapps); in i40e_dbg_command_write()
1091 for (i = 0; i < cfg->numapps; i++) { in i40e_dbg_command_write()
1122 r_cfg->numapps); in i40e_dbg_command_write()
1123 for (i = 0; i < r_cfg->numapps; i++) { in i40e_dbg_command_write()
Di40e_type.h473 u32 numapps; member
Di40e_main.c5401 for (i = 0; i < dcbcfg->numapps; i++) { in i40e_get_iscsi_tc_map()
7167 pf->tmp_cfg.numapps = I40E_IEEE_DEFAULT_NUM_APPS; in i40e_dcb_sw_default_config()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_dcb.c322 dcbcfg->numapps = i; in ice_parse_ieee_app_tlv()
458 dcbcfg->numapps = len / sizeof(*app); in ice_parse_cee_app_tlv()
459 if (!dcbcfg->numapps) in ice_parse_cee_app_tlv()
461 if (dcbcfg->numapps > ICE_DCBX_MAX_APPS) in ice_parse_cee_app_tlv()
462 dcbcfg->numapps = ICE_DCBX_MAX_APPS; in ice_parse_cee_app_tlv()
464 for (i = 0; i < dcbcfg->numapps; i++) { in ice_parse_cee_app_tlv()
842 for (j = 0; j < cmp_dcbcfg->numapps; j++) { in ice_cee_to_dcb_cfg()
881 dcbcfg->numapps = app_index; in ice_cee_to_dcb_cfg()
1235 if (dcbcfg->numapps == 0) in ice_add_ieee_app_pri_tlv()
1251 while (i < dcbcfg->numapps) { in ice_add_ieee_app_pri_tlv()
Dice_dcb_nl.c716 for (i = 0; i < cfg->numapps; i++) { in ice_dcbnl_find_app()
846 new_cfg->app[new_cfg->numapps++] = new_app; in ice_dcbnl_setapp()
893 for (i = 0; i < new_cfg->numapps; i++) { in ice_dcbnl_delapp()
905 if (i == new_cfg->numapps) { in ice_dcbnl_delapp()
910 new_cfg->numapps--; in ice_dcbnl_delapp()
912 for (j = i; j < new_cfg->numapps; j++) { in ice_dcbnl_delapp()
1063 for (i = 0; i < dcbxcfg->numapps; i++) { in ice_dcbnl_set_all()
1122 for (i = 0; i < old_cfg->numapps; i++) { in ice_dcbnl_flush_apps()
Dice_type.h708 u32 numapps; member
Dice_dcb_lib.c662 dcbcfg->numapps = 1; in ice_dcb_sw_dflt_cfg()