Searched refs:ets_params (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_dcb.c | 570 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()
|
H A D | bnx2x_link.h | 539 struct bnx2x_ets_params *ets_params);
|
H A D | bnx2x_link.c | 791 const struct bnx2x_ets_params *ets_params, in bnx2x_ets_e3b0_cli_map() 894 struct bnx2x_ets_params *ets_params, in bnx2x_ets_e3b0_get_total_bw() 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() 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() 790 bnx2x_ets_e3b0_cli_map(const struct link_params *params, const struct bnx2x_ets_params *ets_params, const u8 cos_sp_bitmap, const u8 cos_bw_bitmap) bnx2x_ets_e3b0_cli_map() argument 892 bnx2x_ets_e3b0_get_total_bw( const struct link_params *params, struct bnx2x_ets_params *ets_params, u16 *total_bw) bnx2x_ets_e3b0_get_total_bw() argument 1128 bnx2x_ets_e3b0_config(const struct link_params *params, const struct link_vars *vars, struct bnx2x_ets_params *ets_params) bnx2x_ets_e3b0_config() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_dcb.c | 570 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()
|
H A D | bnx2x_link.h | 539 struct bnx2x_ets_params *ets_params);
|
H A D | bnx2x_link.c | 791 const struct bnx2x_ets_params *ets_params, in bnx2x_ets_e3b0_cli_map() 894 struct bnx2x_ets_params *ets_params, in bnx2x_ets_e3b0_get_total_bw() 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() 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() 790 bnx2x_ets_e3b0_cli_map(const struct link_params *params, const struct bnx2x_ets_params *ets_params, const u8 cos_sp_bitmap, const u8 cos_bw_bitmap) bnx2x_ets_e3b0_cli_map() argument 892 bnx2x_ets_e3b0_get_total_bw( const struct link_params *params, struct bnx2x_ets_params *ets_params, u16 *total_bw) bnx2x_ets_e3b0_get_total_bw() argument 1128 bnx2x_ets_e3b0_config(const struct link_params *params, const struct link_vars *vars, struct bnx2x_ets_params *ets_params) bnx2x_ets_e3b0_config() argument [all...] |
Completed in 35 milliseconds