Home
last modified time | relevance | path

Searched refs:I40E_BW_CREDIT_DIVISOR (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e.h79 #define I40E_BW_CREDIT_DIVISOR 50 /* 50Mbps per BW credit */ macro
H A Di40e_main.c5970 max_tx_rate = I40E_BW_CREDIT_DIVISOR; in i40e_bw_bytes_to_mbits()
6000 if (max_tx_rate && max_tx_rate < I40E_BW_CREDIT_DIVISOR) { in i40e_set_bw_limit()
6003 max_tx_rate = I40E_BW_CREDIT_DIVISOR; in i40e_set_bw_limit()
6008 do_div(credits, I40E_BW_CREDIT_DIVISOR); in i40e_set_bw_limit()
6665 do_div(credits, I40E_BW_CREDIT_DIVISOR); in i40e_create_queue_channel()
8301 do_div(credits, I40E_BW_CREDIT_DIVISOR); in i40e_setup_tc()
10700 do_div(credits, I40E_BW_CREDIT_DIVISOR); in i40e_rebuild_channels()
11067 do_div(credits, I40E_BW_CREDIT_DIVISOR); in i40e_rebuild()
H A Di40e_virtchnl_pf.c872 max_tx_rate = div_u64(max_tx_rate, I40E_BW_CREDIT_DIVISOR); in i40e_alloc_vsi_res()