Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c522 struct bnx2x_ets_params ets_params = { 0 }; in bnx2x_dcbx_update_ets_config() local
525 ets_params.num_of_cos = ets->num_of_cos; in bnx2x_dcbx_update_ets_config()
535 ets_params.cos[i].state = bnx2x_cos_state_strict; in bnx2x_dcbx_update_ets_config()
536 ets_params.cos[i].params.sp_params.pri = in bnx2x_dcbx_update_ets_config()
543 ets_params.cos[i].state = bnx2x_cos_state_bw; in bnx2x_dcbx_update_ets_config()
544 ets_params.cos[i].params.bw_params.bw = in bnx2x_dcbx_update_ets_config()
551 &ets_params)) { in bnx2x_dcbx_update_ets_config()
Dbnx2x_link.h484 struct bnx2x_ets_params *ets_params);
Dbnx2x_link.c767 const struct bnx2x_ets_params *ets_params, in bnx2x_ets_e3b0_cli_map() argument
874 struct bnx2x_ets_params *ets_params, in bnx2x_ets_e3b0_get_total_bw() argument
884 for (cos_idx = 0; cos_idx < ets_params->num_of_cos; cos_idx++) { in bnx2x_ets_e3b0_get_total_bw()
885 if (ets_params->cos[cos_idx].state == bnx2x_cos_state_bw) { in bnx2x_ets_e3b0_get_total_bw()
887 if (!ets_params->cos[cos_idx].params.bw_params.bw) { in bnx2x_ets_e3b0_get_total_bw()
894 ets_params->cos[cos_idx].params.bw_params.bw in bnx2x_ets_e3b0_get_total_bw()
898 ets_params->cos[cos_idx].params.bw_params.bw; in bnx2x_ets_e3b0_get_total_bw()
1113 struct bnx2x_ets_params *ets_params) in bnx2x_ets_e3b0_config() argument
1134 if ((ets_params->num_of_cos > max_num_of_cos)) { in bnx2x_ets_e3b0_config()
1144 bnx2x_status = bnx2x_ets_e3b0_get_total_bw(params, ets_params, in bnx2x_ets_e3b0_config()
[all …]