Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c76 bp->dcbx_port_params.ets.num_of_cos; in bnx2x_pfc_set()
79 for (i = 0; i < bp->dcbx_port_params.ets.num_of_cos; i++) in bnx2x_pfc_set()
479 if (ets->num_of_cos == 0 || ets->num_of_cos > DCBX_COS_MAX_NUM_E2) { in bnx2x_dcbx_2cos_limit_update_ets_config()
480 BNX2X_ERR("Illegal number of COSes %d\n", ets->num_of_cos); in bnx2x_dcbx_2cos_limit_update_ets_config()
485 if (ets->num_of_cos == 1) /* no ETS */ in bnx2x_dcbx_2cos_limit_update_ets_config()
542 ets_params.num_of_cos = ets->num_of_cos; in bnx2x_dcbx_update_ets_config()
544 for (i = 0; i < ets->num_of_cos; i++) { in bnx2x_dcbx_update_ets_config()
698 for (cos = 0; cos < bp->dcbx_port_params.ets.num_of_cos; cos++) { in bnx2x_dcbx_update_tc_mapping()
1055 for (cos = 0 ; cos < bp->dcbx_port_params.ets.num_of_cos ; cos++) { in bnx2x_dcbx_print_cos_params()
1141 cos_data->num_of_cos = 1; in bnx2x_dcbx_ets_disabled_entry_data()
[all …]
Dbnx2x_dcb.h52 u8 num_of_cos; /* valid COS entries */ member
146 u8 num_of_cos; member
Dbnx2x_link.h509 u8 num_of_cos; /* Number of valid COS entries*/ member
Dbnx2x_link.c911 for (cos_idx = 0; cos_idx < ets_params->num_of_cos; cos_idx++) { in bnx2x_ets_e3b0_get_total_bw()
1159 if ((ets_params->num_of_cos > max_num_of_cos)) { in bnx2x_ets_e3b0_config()
1184 for (cos_entry = 0; cos_entry < ets_params->num_of_cos; cos_entry++) { in bnx2x_ets_e3b0_config()
Dbnx2x_main.c10056 bnx2x_setup_tc(bp->dev, bp->dcbx_port_params.ets.num_of_cos); in bnx2x_sp_rtnl_task()