Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/
H A Dbnxe_fw_funcs.c195 vdata->vnic_max_rate[vnic].vn_counter.rate = in ecore_init_max()
196 input_data->vnic_max_rate[vnic]; in ecore_init_max()
202 vdata->vnic_max_rate[vnic].vn_counter.quota = in ecore_init_max()
204 (u32_t)vdata->vnic_max_rate[vnic].vn_counter.rate / 8; in ecore_init_max()
209 void ecore_init_max_per_vn(u16_t vnic_max_rate, in ecore_init_max_per_vn() argument
213 ram_data->vn_counter.rate = vnic_max_rate; in ecore_init_max_per_vn()
221 RS_PERIODIC_TIMEOUT_USEC * (u32_t)vnic_max_rate / 8; in ecore_init_max_per_vn()
H A D5710_hsi.h7841 struct rate_shaping_vars_per_vn vnic_max_rate[4]; member
7862 u16_t vnic_max_rate[4] /* rates are in Mbps */; member
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_hw_access.c46 void ecore_init_max_per_vn(u16_t vnic_max_rate,
81 input_data.vnic_max_rate[vnic] = lm_get_max_bw(pdev, in lm_cmng_init()
108 … ecore_init_max_per_vn( input_data.vnic_max_rate[vnic_id], &ram_data.vnic.vnic_max_rate[vnic_id] ); in lm_cmng_init()
118 for (vnic = 0; vnic < ARRSIZE(ram_data.vnic.vnic_max_rate); vnic++) in lm_cmng_init()
120 buf = (u32_t *)&ram_data.vnic.vnic_max_rate[vnic]; in lm_cmng_init()
121 ASSERT_STATIC(0 == sizeof(ram_data.vnic.vnic_max_rate[vnic]) % 4); in lm_cmng_init()
129 for (i = 0; i < sizeof(ram_data.vnic.vnic_max_rate[vnic])/4; i++) in lm_cmng_init()