Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnic_main.c322 u64 lmac_credit; in nic_set_lmac_vf_mapping() local
336 lmac_credit = (1ull << 1); /* channel credit enable */ in nic_set_lmac_vf_mapping()
337 lmac_credit |= (0x1ff << 2); /* Max outstanding pkt count */ in nic_set_lmac_vf_mapping()
339 lmac_credit |= (((((48 * 1024) / lmac_cnt) - in nic_set_lmac_vf_mapping()
345 lmac_credit); in nic_set_lmac_vf_mapping()