Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_spin_lock.c51 volatile int credit = 0, max_credit = 100, pkt_len = 64; in bpf_sping_lock_test() local
86 if (q->credit > max_credit) in bpf_sping_lock_test()
87 q->credit = max_credit; in bpf_sping_lock_test()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H 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()
H 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()
H A Dhw_atl2_llh.h54 const u32 max_credit);
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dhbm_out_kern.c66 int max_credit = MAX_CREDIT; in _hbm_out_cg() local
/OK3568_Linux_fs/kernel/drivers/net/xen-netback/
H 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H 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()
H 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()
H A Dhw_atl_llh.h711 const u32 max_credit);
725 const u32 max_credit);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_prototype.h233 u16 seid, u16 credit, u8 max_credit,
H A Di40e_adminq_cmd.h1330 u8 max_credit; /* 0-3, limit = 2^max */ member
H A Di40e_common.c4038 u16 seid, u16 credit, u8 max_credit, in i40e_aq_config_vsi_bw_limit() argument
4051 cmd->max_credit = max_credit; in i40e_aq_config_vsi_bw_limit()
/OK3568_Linux_fs/kernel/include/linux/qed/
H A Dqed_if.h49 u32 max_credit; member