Searched refs:max_cos (Results 1 - 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sp.h | 899 u8 max_cos; member 1059 * Therefore max_cos is also a number of valid entries in the cids 1062 u8 max_cos; member
|
H A D | bnx2x.h | 288 (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)++)
|
H A D | bnx2x_cmn.c | 118 * Each fp consumes 'max_cos' txdata structures, so the index should be in bnx2x_move_fp() 119 * decremented by max_cos x delta. in bnx2x_move_fp() 122 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() 1939 (BNX2X_NUM_ETH_QUEUES(bp) * bp->max_cos); in bnx2x_select_queue() 1966 * bp->max_cos. 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() [all...] |
H A D | bnx2x_sp.c | 4748 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()
|
H A D | bnx2x_main.c | 6386 BUG_ON(fp->max_cos > BNX2X_MULTI_TX_COS); in bnx2x_init_eth_fp() 6405 fp->max_cos, BP_FUNC(bp), bnx2x_sp(bp, q_rdata), in bnx2x_init_eth_fp() 6495 BUG_ON(fp->max_cos != 1); in bnx2x_init_fcoe_fp() 8776 init_params->max_cos = fp->max_cos; in bnx2x_pf_q_prep_init() 8779 fp->index, init_params->max_cos); in bnx2x_pf_q_prep_init() 8782 for (cos = FIRST_TX_COS_INDEX; cos < init_params->max_cos; cos++) { in bnx2x_pf_q_prep_init() 8902 tx_index < fp->max_cos; in bnx2x_setup_queue() 8933 tx_index < fp->max_cos; in bnx2x_stop_queue() 12442 bp->max_cos in bnx2x_init_bp() [all...] |
H A D | bnx2x_link.c | 661 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()
|
H A D | bnx2x_sriov.c | 2400 tx_idx < fp->max_cos; tx_idx++) { in bnx2x_set_pf_tx_switching()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sp.h | 899 u8 max_cos; member 1059 * Therefore max_cos is also a number of valid entries in the cids 1062 u8 max_cos; member
|
H A D | bnx2x.h | 288 (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 1823 u8 max_cos; member 1971 for ((var) = 0; (var) < (fp)->max_cos; (var)++)
|
H A D | bnx2x_cmn.c | 117 * Each fp consumes 'max_cos' txdata structures, so the index should be in bnx2x_move_fp() 118 * decremented by max_cos x delta. in bnx2x_move_fp() 121 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() 1950 (BNX2X_NUM_ETH_QUEUES(bp) * bp->max_cos); in bnx2x_select_queue() 1977 * bp->max_cos. 1996 tx = BNX2X_NUM_ETH_QUEUES(bp) * bp->max_cos; in bnx2x_set_real_num_queues() 2493 fp->max_cos = bp->max_cos; in bnx2x_bz_fp() [all...] |
H A D | bnx2x_sp.c | 4748 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()
|
H A D | bnx2x_main.c | 6384 BUG_ON(fp->max_cos > BNX2X_MULTI_TX_COS); in bnx2x_init_eth_fp() 6403 fp->max_cos, BP_FUNC(bp), bnx2x_sp(bp, q_rdata), in bnx2x_init_eth_fp() 6493 BUG_ON(fp->max_cos != 1); in bnx2x_init_fcoe_fp() 8774 init_params->max_cos = fp->max_cos; in bnx2x_pf_q_prep_init() 8777 fp->index, init_params->max_cos); in bnx2x_pf_q_prep_init() 8780 for (cos = FIRST_TX_COS_INDEX; cos < init_params->max_cos; cos++) { in bnx2x_pf_q_prep_init() 8900 tx_index < fp->max_cos; in bnx2x_setup_queue() 8931 tx_index < fp->max_cos; in bnx2x_stop_queue() 12397 bp->max_cos in bnx2x_init_bp() [all...] |
H A D | bnx2x_link.c | 661 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()
|
H A D | bnx2x_sriov.c | 2393 tx_idx < fp->max_cos; tx_idx++) { in bnx2x_set_pf_tx_switching()
|
Completed in 106 milliseconds