Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnic_main.c253 static int nic_update_hw_frs(struct nicpf *nic, int new_frs, int vf) in nic_update_hw_frs() argument
258 if ((new_frs > NIC_HW_MAX_FRS) || (new_frs < NIC_HW_MIN_FRS)) in nic_update_hw_frs()
265 new_frs += VLAN_ETH_HLEN + ETH_FCS_LEN + 4; in nic_update_hw_frs()
271 lmac_credits |= (((((48 * 1024) / lmac_cnt) - new_frs) / 16) << 12); in nic_update_hw_frs()
279 NIC_PF_LMAC_0_7_CFG2 + (lmac * 8), new_frs); in nic_update_hw_frs()