Home
last modified time | relevance | path

Searched refs:ets_params (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c570 struct bnx2x_ets_params ets_params = { 0 }; in bnx2x_dcbx_update_ets_config() local
573 ets_params.num_of_cos = ets->num_of_cos; in bnx2x_dcbx_update_ets_config()
583 ets_params.cos[i].state = bnx2x_cos_state_strict; in bnx2x_dcbx_update_ets_config()
584 ets_params.cos[i].params.sp_params.pri = in bnx2x_dcbx_update_ets_config()
591 ets_params.cos[i].state = bnx2x_cos_state_bw; in bnx2x_dcbx_update_ets_config()
592 ets_params.cos[i].params.bw_params.bw = in bnx2x_dcbx_update_ets_config()
599 &ets_params)) { in bnx2x_dcbx_update_ets_config()
Dbnx2x_link.h539 struct bnx2x_ets_params *ets_params);
Dbnx2x_link.c791 const struct bnx2x_ets_params *ets_params, in bnx2x_ets_e3b0_cli_map() argument
894 struct bnx2x_ets_params *ets_params, in bnx2x_ets_e3b0_get_total_bw() argument
903 for (cos_idx = 0; cos_idx < ets_params->num_of_cos; cos_idx++) { in bnx2x_ets_e3b0_get_total_bw()
904 if (ets_params->cos[cos_idx].state == bnx2x_cos_state_bw) { in bnx2x_ets_e3b0_get_total_bw()
906 if (!ets_params->cos[cos_idx].params.bw_params.bw) { in bnx2x_ets_e3b0_get_total_bw()
912 ets_params->cos[cos_idx].params.bw_params.bw in bnx2x_ets_e3b0_get_total_bw()
916 ets_params->cos[cos_idx].params.bw_params.bw; in bnx2x_ets_e3b0_get_total_bw()
1130 struct bnx2x_ets_params *ets_params) in bnx2x_ets_e3b0_config() argument
1151 if ((ets_params->num_of_cos > max_num_of_cos)) { in bnx2x_ets_e3b0_config()
1161 bnx2x_status = bnx2x_ets_e3b0_get_total_bw(params, ets_params, in bnx2x_ets_e3b0_config()
[all …]