Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_spin_lock.c52 volatile int credit = 0, max_credit = 100, pkt_len = 64; in bpf_spin_lock_test() local
87 if (q->credit > max_credit) in bpf_spin_lock_test()
88 q->credit = max_credit; in bpf_spin_lock_test()
/openbmc/linux/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_llh.h54 const u32 max_credit);
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()
/openbmc/linux/samples/bpf/
H A Dhbm_out_kern.c66 int max_credit = MAX_CREDIT; in _hbm_out_cg() local
/openbmc/linux/drivers/net/xen-netback/
H A Dnetback.c181 unsigned long max_burst, max_credit; in tx_add_credit() local
190 max_credit = queue->remaining_credit + queue->credit_bytes; in tx_add_credit()
191 if (max_credit < queue->remaining_credit) in tx_add_credit()
192 max_credit = ULONG_MAX; /* wrapped: clamp to ULONG_MAX */ in tx_add_credit()
194 queue->remaining_credit = min(max_credit, max_burst); in tx_add_credit()
/openbmc/linux/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_llh.h711 const u32 max_credit);
725 const u32 max_credit);
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()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_prototype.h263 u16 seid, u16 credit, u8 max_credit,
H A Di40e_adminq_cmd.h1334 u8 max_credit; /* 0-3, limit = 2^max */ member
H A Di40e_common.c3959 u16 seid, u16 credit, u8 max_credit, in i40e_aq_config_vsi_bw_limit() argument
3972 cmd->max_credit = max_credit; in i40e_aq_config_vsi_bw_limit()
/openbmc/linux/include/linux/qed/
H A Dqed_if.h53 u32 max_credit; member