Home
last modified time | relevance | path

Searched refs:max_cos (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c122 old_max_eth_txqs = BNX2X_NUM_ETH_QUEUES(bp) * (bp)->max_cos; in bnx2x_move_fp()
124 (bp)->max_cos; in bnx2x_move_fp()
177 for (cos = 1; cos < bp->max_cos; cos++) { in bnx2x_shrink_eth_fp()
1982 tx = BNX2X_NUM_ETH_QUEUES(bp) * bp->max_cos; in bnx2x_set_real_num_queues()
2475 fp->max_cos = bp->max_cos; in bnx2x_bz_fp()
2478 fp->max_cos = 1; in bnx2x_bz_fp()
2693 bnx2x_setup_tc(bp->dev, bp->max_cos); in bnx2x_nic_load()
4252 if (num_tc > bp->max_cos) { in bnx2x_setup_tc()
4254 num_tc, bp->max_cos); in bnx2x_setup_tc()
4287 for (cos = 0; cos < bp->max_cos; cos++) { in bnx2x_setup_tc()
Dbnx2x_sp.h899 u8 max_cos; member
1062 u8 max_cos; member
Dbnx2x.h282 (bp)->max_cos)
342 #define MAX_ETH_TXQ_IDX(bp) (BNX2X_NUM_NON_CNIC_QUEUES(bp) * (bp)->max_cos)
562 u8 max_cos; /* actual number of active tx coses */ member
1822 u8 max_cos; member
1962 for ((var) = 0; (var) < (fp)->max_cos; (var)++)
Dbnx2x_sp.c4746 if (o->next_tx_only >= o->max_cos) in bnx2x_queue_comp_cmd()
4751 o->next_tx_only, o->max_cos); in bnx2x_queue_comp_cmd()
5032 for (cos = 0; cos < o->max_cos; cos++) { in bnx2x_q_init()
5112 if (cid_index >= o->max_cos) { in bnx2x_q_send_setup_tx_only()
5226 if (cid_index >= o->max_cos) { in bnx2x_q_send_update()
5364 if (cid_idx >= o->max_cos) { in bnx2x_q_send_cfc_del()
5380 if (cid_index >= o->max_cos) { in bnx2x_q_send_terminate()
5670 obj->max_cos = cid_cnt; in bnx2x_init_queue_obj()
Dbnx2x_main.c6364 BUG_ON(fp->max_cos > BNX2X_MULTI_TX_COS); in bnx2x_init_eth_fp()
6383 fp->max_cos, BP_FUNC(bp), bnx2x_sp(bp, q_rdata), in bnx2x_init_eth_fp()
6473 BUG_ON(fp->max_cos != 1); in bnx2x_init_fcoe_fp()
8754 init_params->max_cos = fp->max_cos; in bnx2x_pf_q_prep_init()
8757 fp->index, init_params->max_cos); in bnx2x_pf_q_prep_init()
8760 for (cos = FIRST_TX_COS_INDEX; cos < init_params->max_cos; cos++) { in bnx2x_pf_q_prep_init()
8880 tx_index < fp->max_cos; in bnx2x_setup_queue()
8911 tx_index < fp->max_cos; in bnx2x_stop_queue()
12500 bp->max_cos = 1; in bnx2x_init_bp()
12502 bp->max_cos = BNX2X_MULTI_TX_COS_E1X; in bnx2x_init_bp()
[all …]
Dbnx2x_link.c661 u8 max_cos = 0; in bnx2x_ets_e3b0_set_credit_upper_bound_pbf() local
668 max_cos = DCBX_E3B0_MAX_NUM_COS_PORT0; in bnx2x_ets_e3b0_set_credit_upper_bound_pbf()
671 max_cos = DCBX_E3B0_MAX_NUM_COS_PORT1; in bnx2x_ets_e3b0_set_credit_upper_bound_pbf()
674 for (i = 0; i < max_cos; i++) in bnx2x_ets_e3b0_set_credit_upper_bound_pbf()
693 u8 max_cos = 0; in bnx2x_ets_e3b0_pbf_disabled() local
728 max_cos = DCBX_E3B0_MAX_NUM_COS_PORT0; in bnx2x_ets_e3b0_pbf_disabled()
731 max_cos = DCBX_E3B0_MAX_NUM_COS_PORT1; in bnx2x_ets_e3b0_pbf_disabled()
734 for (i = 0; i < max_cos; i++) in bnx2x_ets_e3b0_pbf_disabled()