Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c1183 u16 vn_max_rate = maxCfg * 100; in bnx2x_get_mf_speed() local
1185 if (vn_max_rate < line_speed) in bnx2x_get_mf_speed()
1186 line_speed = vn_max_rate; in bnx2x_get_mf_speed()
Dbnx2x_main.c2494 u16 vn_max_rate; in bnx2x_calc_vn_max() local
2498 vn_max_rate = 0; in bnx2x_calc_vn_max()
2504 vn_max_rate = (bp->link_vars.line_speed * maxCfg) / 100; in bnx2x_calc_vn_max()
2507 vn_max_rate = maxCfg * 100; in bnx2x_calc_vn_max()
2510 DP(NETIF_MSG_IFUP, "vn %d: vn_max_rate %d\n", vn, vn_max_rate); in bnx2x_calc_vn_max()
2512 input->vnic_max_rate[vn] = vn_max_rate; in bnx2x_calc_vn_max()