Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/s32/drivers/s32ze/EthSwt_NETC/src/
DNetc_EthSwt_Ip.c4293 uint64 largeBandwidth; in Netc_EthSwt_Ip_ConfigureCreditBasedShaper() local
4316largeBandwidth = idleSlope / (portTxRate / 10000UL); /* bandwidth is in % and 100th precision, so … in Netc_EthSwt_Ip_ConfigureCreditBasedShaper()
4317 if( largeBandwidth < 100UL ) in Netc_EthSwt_Ip_ConfigureCreditBasedShaper()
4319largeBandwidth = 100UL; /* Min of 1% bandwidth, otherwise frames would get stuck in the switch */ in Netc_EthSwt_Ip_ConfigureCreditBasedShaper()
4322 bandwidth = (uint32)(largeBandwidth/100UL); in Netc_EthSwt_Ip_ConfigureCreditBasedShaper()
4323 … bandwidth = ((uint64)((((uint64)bandwidth)*100UL)+50UL)>largeBandwidth)?bandwidth:(bandwidth+1UL); in Netc_EthSwt_Ip_ConfigureCreditBasedShaper()
4336 …largeEgressHiCredit = largeBandwidth * Netc_EthSwt_Ip_MaxFrameSize * (Netc_EthSwt_Ip_NetcClockFreq… in Netc_EthSwt_Ip_ConfigureCreditBasedShaper()