Home
last modified time | relevance | path

Searched refs:num_of_cos (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c78 bp->dcbx_port_params.ets.num_of_cos; in bnx2x_pfc_set()
81 for (i = 0; i < bp->dcbx_port_params.ets.num_of_cos; i++) in bnx2x_pfc_set()
510 if (ets->num_of_cos == 0 || ets->num_of_cos > DCBX_COS_MAX_NUM_E2) { in bnx2x_dcbx_2cos_limit_update_ets_config()
511 BNX2X_ERR("Illegal number of COSes %d\n", ets->num_of_cos); in bnx2x_dcbx_2cos_limit_update_ets_config()
516 if (ets->num_of_cos == 1) /* no ETS */ in bnx2x_dcbx_2cos_limit_update_ets_config()
573 ets_params.num_of_cos = ets->num_of_cos; in bnx2x_dcbx_update_ets_config()
575 for (i = 0; i < ets->num_of_cos; i++) { in bnx2x_dcbx_update_ets_config()
729 for (cos = 0; cos < bp->dcbx_port_params.ets.num_of_cos; cos++) { in bnx2x_dcbx_update_tc_mapping()
1086 for (cos = 0 ; cos < bp->dcbx_port_params.ets.num_of_cos ; cos++) { in bnx2x_dcbx_print_cos_params()
1172 cos_data->num_of_cos = 1; in bnx2x_dcbx_ets_disabled_entry_data()
[all …]
Dbnx2x_dcb.h54 u8 num_of_cos; /* valid COS entries */ member
148 u8 num_of_cos; member
Dbnx2x_link.h512 u8 num_of_cos; /* Number of valid COS entries*/ member
Dbnx2x_link.c903 for (cos_idx = 0; cos_idx < ets_params->num_of_cos; cos_idx++) { in bnx2x_ets_e3b0_get_total_bw()
1151 if ((ets_params->num_of_cos > max_num_of_cos)) { in bnx2x_ets_e3b0_config()
1176 for (cos_entry = 0; cos_entry < ets_params->num_of_cos; cos_entry++) { in bnx2x_ets_e3b0_config()
Dbnx2x_main.c10300 bnx2x_setup_tc(bp->dev, bp->dcbx_port_params.ets.num_of_cos); in bnx2x_sp_rtnl_task()