Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c676 for (i = 0; i < cfg->numapps; i++) { in ice_dcbnl_find_app()
708 if (old_cfg->numapps == ICE_DCBX_MAX_APPS) { in ice_dcbnl_setapp()
725 new_cfg->app[new_cfg->numapps++] = new_app; in ice_dcbnl_setapp()
758 if (old_cfg->numapps <= 1) in ice_dcbnl_delapp()
767 for (i = 1; i < new_cfg->numapps; i++) { in ice_dcbnl_delapp()
779 if (i == new_cfg->numapps) { in ice_dcbnl_delapp()
784 new_cfg->numapps--; in ice_dcbnl_delapp()
786 for (j = i; j < new_cfg->numapps; j++) { in ice_dcbnl_delapp()
891 for (i = 0; i < dcbxcfg->numapps; i++) { in ice_dcbnl_set_all()
950 for (i = 0; i < old_cfg->numapps; i++) { in ice_dcbnl_flush_apps()
Dice_dcb.c330 dcbcfg->numapps = i; in ice_parse_ieee_app_tlv()
469 dcbcfg->numapps = len / sizeof(*app); in ice_parse_cee_app_tlv()
470 if (!dcbcfg->numapps) in ice_parse_cee_app_tlv()
472 if (dcbcfg->numapps > ICE_DCBX_MAX_APPS) in ice_parse_cee_app_tlv()
473 dcbcfg->numapps = ICE_DCBX_MAX_APPS; in ice_parse_cee_app_tlv()
475 for (i = 0; i < dcbcfg->numapps; i++) { in ice_parse_cee_app_tlv()
817 for (j = 0; j < cmp_dcbcfg->numapps; j++) { in ice_cee_to_dcb_cfg()
856 dcbcfg->numapps = app_index; in ice_cee_to_dcb_cfg()
1175 if (dcbcfg->numapps == 0) in ice_add_ieee_app_pri_tlv()
1191 while (i < dcbcfg->numapps) { in ice_add_ieee_app_pri_tlv()
Dice_type.h505 u32 numapps; member
Dice_dcb_lib.c563 dcbcfg->numapps = 1; in ice_dcb_sw_dflt_cfg()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_dcb.c233 dcbcfg->numapps = i; in i40e_parse_ieee_app_tlv()
366 dcbcfg->numapps = length / sizeof(*app); in i40e_parse_cee_app_tlv()
368 if (!dcbcfg->numapps) in i40e_parse_cee_app_tlv()
370 if (dcbcfg->numapps > I40E_DCBX_MAX_APPS) in i40e_parse_cee_app_tlv()
371 dcbcfg->numapps = I40E_DCBX_MAX_APPS; in i40e_parse_cee_app_tlv()
373 for (i = 0; i < dcbcfg->numapps; i++) { in i40e_parse_cee_app_tlv()
638 dcbcfg->numapps = I40E_CEE_OPER_MAX_APPS; in i40e_cee_to_dcb_v1_config()
761 dcbcfg->numapps = i; in i40e_cee_to_dcb_config()
Di40e_dcb_nl.c166 for (i = 0; i < dcbxcfg->numapps; i++) { in i40e_dcbnl_set_all()
240 for (i = 0; i < cfg->numapps; i++) { in i40e_dcbnl_find_app()
270 for (i = 0; i < old_cfg->numapps; i++) { in i40e_dcbnl_flush_apps()
Di40e_debugfs.c1105 "port app_table: num_apps=%d\n", cfg->numapps); in i40e_dbg_command_write()
1106 for (i = 0; i < cfg->numapps; i++) { in i40e_dbg_command_write()
1137 r_cfg->numapps); in i40e_dbg_command_write()
1138 for (i = 0; i < r_cfg->numapps; i++) { in i40e_dbg_command_write()
Di40e_type.h517 u32 numapps; member
Di40e_main.c5179 for (i = 0; i < dcbcfg->numapps; i++) { in i40e_get_iscsi_tc_map()