Searched refs:max_cos (Results 1 - 6 of 6) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 121 * Each fp consumes 'max_cos' txdata structures, so the index should be bnx2x_move_fp() 122 * decremented by max_cos x delta. bnx2x_move_fp() 125 old_max_eth_txqs = BNX2X_NUM_ETH_QUEUES(bp) * (bp)->max_cos; bnx2x_move_fp() 127 (bp)->max_cos; bnx2x_move_fp() 180 for (cos = 1; cos < bp->max_cos; cos++) { bnx2x_shrink_eth_fp() 1978 * bp->max_cos. 1997 tx = BNX2X_NUM_ETH_QUEUES(bp) * bp->max_cos; bnx2x_set_real_num_queues() 2489 fp->max_cos = bp->max_cos; bnx2x_bz_fp() 2492 fp->max_cos = 1; bnx2x_bz_fp() 2651 * allocated only once, fp index, max_cos, bp pointer. bnx2x_nic_load() 2708 bnx2x_setup_tc(bp->dev, bp->max_cos); bnx2x_nic_load() 4288 if (num_tc > bp->max_cos) { bnx2x_setup_tc() 4290 num_tc, bp->max_cos); bnx2x_setup_tc() 4323 for (cos = 0; cos < bp->max_cos; cos++) { bnx2x_setup_tc()
|
H A D | bnx2x_sp.h | 887 u8 max_cos; member in struct:bnx2x_queue_init_params 1047 * Therefore max_cos is also a number of valid entries in the cids 1050 u8 max_cos; member in struct:bnx2x_queue_sp_obj
|
H A D | bnx2x.h | 276 (bp)->max_cos) 336 #define MAX_ETH_TXQ_IDX(bp) (BNX2X_NUM_NON_CNIC_QUEUES(bp) * (bp)->max_cos) 560 u8 max_cos; /* actual number of active tx coses */ member in struct:bnx2x_fastpath 1921 u8 max_cos; member in struct:bnx2x 2060 for ((var) = 0; (var) < (fp)->max_cos; (var)++)
|
H A D | bnx2x_main.c | 6362 BUG_ON(fp->max_cos > BNX2X_MULTI_TX_COS); bnx2x_init_eth_fp() 6381 fp->max_cos, BP_FUNC(bp), bnx2x_sp(bp, q_rdata), 6471 BUG_ON(fp->max_cos != 1); bnx2x_init_fcoe_fp() 8724 init_params->max_cos = fp->max_cos; bnx2x_pf_q_prep_init() 8727 fp->index, init_params->max_cos); bnx2x_pf_q_prep_init() 8730 for (cos = FIRST_TX_COS_INDEX; cos < init_params->max_cos; cos++) { bnx2x_pf_q_prep_init() 8850 tx_index < fp->max_cos; bnx2x_setup_queue() 8881 tx_index < fp->max_cos; bnx2x_stop_queue() 12386 bp->max_cos = 1; bnx2x_init_bp() 12388 bp->max_cos = BNX2X_MULTI_TX_COS_E1X; bnx2x_init_bp() 12390 bp->max_cos = BNX2X_MULTI_TX_COS_E2_E3A0; bnx2x_init_bp() 12392 bp->max_cos = BNX2X_MULTI_TX_COS_E3B0; bnx2x_init_bp() 12396 BNX2X_DEV_INFO("set bp->max_cos to %d\n", bp->max_cos); bnx2x_init_bp() 13807 * initialization of bp->max_cos based on the chip versions AND chip bnx2x_init_one() 13871 /* Map doorbells here as we need the real value of bp->max_cos which bnx2x_init_one()
|
H A D | bnx2x_sp.c | 4528 if (o->next_tx_only >= o->max_cos) bnx2x_queue_comp_cmd() 4533 o->next_tx_only, o->max_cos); bnx2x_queue_comp_cmd() 4814 for (cos = 0; cos < o->max_cos; cos++) { bnx2x_q_init() 4895 if (cid_index >= o->max_cos) { bnx2x_q_send_setup_tx_only() 5009 if (cid_index >= o->max_cos) { bnx2x_q_send_update() 5147 if (cid_idx >= o->max_cos) { bnx2x_q_send_cfc_del() 5163 if (cid_index >= o->max_cos) { bnx2x_q_send_terminate() 5453 obj->max_cos = cid_cnt; bnx2x_init_queue_obj()
|
H A D | bnx2x_link.c | 667 u8 max_cos = 0; bnx2x_ets_e3b0_set_credit_upper_bound_pbf() local 674 max_cos = DCBX_E3B0_MAX_NUM_COS_PORT0; bnx2x_ets_e3b0_set_credit_upper_bound_pbf() 677 max_cos = DCBX_E3B0_MAX_NUM_COS_PORT1; bnx2x_ets_e3b0_set_credit_upper_bound_pbf() 680 for (i = 0; i < max_cos; i++) bnx2x_ets_e3b0_set_credit_upper_bound_pbf() 699 u8 max_cos = 0; bnx2x_ets_e3b0_pbf_disabled() local 734 max_cos = DCBX_E3B0_MAX_NUM_COS_PORT0; bnx2x_ets_e3b0_pbf_disabled() 737 max_cos = DCBX_E3B0_MAX_NUM_COS_PORT1; bnx2x_ets_e3b0_pbf_disabled() 740 for (i = 0; i < max_cos; i++) bnx2x_ets_e3b0_pbf_disabled()
|
Completed in 412 milliseconds