Home
last modified time | relevance | path

Searched refs:MAX_CREDIT (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/samples/bpf/
H A Dhbm_out_kern.c66 int max_credit = MAX_CREDIT; in _hbm_out_cg()
104 if (new_credit > MAX_CREDIT) in _hbm_out_cg()
105 credit = MAX_CREDIT; in _hbm_out_cg()
H A Dhbm_kern.h44 #define MAX_CREDIT (100 * MAX_BYTES_PER_PACKET) macro
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.h144 #define MAX_CREDIT 4095 /* Maximum credit supported: 256KB * 1204 / 64B */ macro
H A Dixgbe_dcb.c46 max[i] = bw[i] ? (bw[i] * MAX_CREDIT)/100 : min_credit; in ixgbe_ieee_credits()
130 credit_max = (link_percentage * MAX_CREDIT) / 100; in ixgbe_dcb_calculate_tc_credits()