Home
last modified time | relevance | path

Searched refs:max_credit (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_spin_lock.c51 volatile int credit = 0, max_credit = 100, pkt_len = 64; in bpf_spin_lock_test() local
86 if (q->credit > max_credit) in bpf_spin_lock_test()
87 q->credit = max_credit; in bpf_spin_lock_test()
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
A Dhw_atl2_llh.c107 const u32 max_credit) in hw_atl2_tps_tx_pkt_shed_tc_data_max_credit_set() argument
112 max_credit); in hw_atl2_tps_tx_pkt_shed_tc_data_max_credit_set()
A Dhw_atl2_llh.h54 const u32 max_credit);
A Dhw_atl2.c298 u32 weight, max_credit; in hw_atl2_hw_init_tx_tc_rate_limit() local
313 max_credit = max(2 * weight, fixed_max_credit_4b); in hw_atl2_hw_init_tx_tc_rate_limit()
316 max_credit = 0xFFF0; in hw_atl2_hw_init_tx_tc_rate_limit()
321 max_credit); in hw_atl2_hw_init_tx_tc_rate_limit()
/linux-6.3-rc2/samples/bpf/
A Dhbm_out_kern.c66 int max_credit = MAX_CREDIT; in _hbm_out_cg() local
/linux-6.3-rc2/drivers/net/xen-netback/
A Dnetback.c182 unsigned long max_burst, max_credit; in tx_add_credit() local
191 max_credit = queue->remaining_credit + queue->credit_bytes; in tx_add_credit()
192 if (max_credit < queue->remaining_credit) in tx_add_credit()
193 max_credit = ULONG_MAX; /* wrapped: clamp to ULONG_MAX */ in tx_add_credit()
195 queue->remaining_credit = min(max_credit, max_burst); in tx_add_credit()
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl/
A Dhw_atl_llh.c1512 const u32 max_credit) in hw_atl_tps_tx_pkt_shed_desc_tc_max_credit_set() argument
1517 max_credit); in hw_atl_tps_tx_pkt_shed_desc_tc_max_credit_set()
1541 const u32 max_credit) in hw_atl_tps_tx_pkt_shed_tc_data_max_credit_set() argument
1546 max_credit); in hw_atl_tps_tx_pkt_shed_tc_data_max_credit_set()
A Dhw_atl_llh.h711 const u32 max_credit);
725 const u32 max_credit);
A Dhw_atl_b0.c393 u32 weight, max_credit; in hw_atl_b0_hw_init_tx_tc_rate_limit() local
408 max_credit = max(8 * weight, fixed_max_credit); in hw_atl_b0_hw_init_tx_tc_rate_limit()
411 max_credit = 0xFFF; in hw_atl_b0_hw_init_tx_tc_rate_limit()
416 max_credit); in hw_atl_b0_hw_init_tx_tc_rate_limit()
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_prototype.h268 u16 seid, u16 credit, u8 max_credit,
A Di40e_adminq_cmd.h1331 u8 max_credit; /* 0-3, limit = 2^max */ member
A Di40e_common.c3955 u16 seid, u16 credit, u8 max_credit, in i40e_aq_config_vsi_bw_limit() argument
3968 cmd->max_credit = max_credit; in i40e_aq_config_vsi_bw_limit()
/linux-6.3-rc2/include/linux/qed/
A Dqed_if.h53 u32 max_credit; member

Completed in 48 milliseconds