Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp_eth.c92 } nsp_eth_rate_tbl[] = { variable
105 for (i = 0; i < ARRAY_SIZE(nsp_eth_rate_tbl); i++) in nfp_eth_rate2speed()
106 if (nsp_eth_rate_tbl[i].rate == rate) in nfp_eth_rate2speed()
107 return nsp_eth_rate_tbl[i].speed; in nfp_eth_rate2speed()
116 for (i = 0; i < ARRAY_SIZE(nsp_eth_rate_tbl); i++) in nfp_eth_speed2rate()
117 if (nsp_eth_rate_tbl[i].speed == speed) in nfp_eth_speed2rate()
118 return nsp_eth_rate_tbl[i].rate; in nfp_eth_speed2rate()