Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c121 old_max_eth_txqs = BNX2X_NUM_ETH_QUEUES(bp) * (bp)->max_cos; in bnx2x_move_fp()
123 (bp)->max_cos; in bnx2x_move_fp()
176 for (cos = 1; cos < bp->max_cos; cos++) { in bnx2x_shrink_eth_fp()
1939 (BNX2X_NUM_ETH_QUEUES(bp) * bp->max_cos); in bnx2x_select_queue()
1985 tx = BNX2X_NUM_ETH_QUEUES(bp) * bp->max_cos; in bnx2x_set_real_num_queues()
2482 fp->max_cos = bp->max_cos; in bnx2x_bz_fp()
2485 fp->max_cos = 1; in bnx2x_bz_fp()
2701 bnx2x_setup_tc(bp->dev, bp->max_cos); in bnx2x_nic_load()
4255 if (num_tc > bp->max_cos) { in bnx2x_setup_tc()
4257 num_tc, bp->max_cos); in bnx2x_setup_tc()
[all …]
Dbnx2x_sp.h899 u8 max_cos; member
1062 u8 max_cos; member
Dbnx2x.h288 (bp)->max_cos)
348 #define MAX_ETH_TXQ_IDX(bp) (BNX2X_NUM_NON_CNIC_QUEUES(bp) * (bp)->max_cos)
568 u8 max_cos; /* actual number of active tx coses */ member
1822 u8 max_cos; member
1970 for ((var) = 0; (var) < (fp)->max_cos; (var)++)
Dbnx2x_sp.c4748 if (o->next_tx_only >= o->max_cos) in bnx2x_queue_comp_cmd()
4753 o->next_tx_only, o->max_cos); in bnx2x_queue_comp_cmd()
5034 for (cos = 0; cos < o->max_cos; cos++) { in bnx2x_q_init()
5114 if (cid_index >= o->max_cos) { in bnx2x_q_send_setup_tx_only()
5228 if (cid_index >= o->max_cos) { in bnx2x_q_send_update()
5366 if (cid_idx >= o->max_cos) { in bnx2x_q_send_cfc_del()
5382 if (cid_index >= o->max_cos) { in bnx2x_q_send_terminate()
5672 obj->max_cos = cid_cnt; in bnx2x_init_queue_obj()
Dbnx2x_main.c6385 BUG_ON(fp->max_cos > BNX2X_MULTI_TX_COS); in bnx2x_init_eth_fp()
6404 fp->max_cos, BP_FUNC(bp), bnx2x_sp(bp, q_rdata), in bnx2x_init_eth_fp()
6494 BUG_ON(fp->max_cos != 1); in bnx2x_init_fcoe_fp()
8775 init_params->max_cos = fp->max_cos; in bnx2x_pf_q_prep_init()
8778 fp->index, init_params->max_cos); in bnx2x_pf_q_prep_init()
8781 for (cos = FIRST_TX_COS_INDEX; cos < init_params->max_cos; cos++) { in bnx2x_pf_q_prep_init()
8901 tx_index < fp->max_cos; in bnx2x_setup_queue()
8932 tx_index < fp->max_cos; in bnx2x_stop_queue()
12395 bp->max_cos = 1; in bnx2x_init_bp()
12397 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()
Dbnx2x_sriov.c2393 tx_idx < fp->max_cos; tx_idx++) { in bnx2x_set_pf_tx_switching()