• Home
  • Raw
  • Download

Lines Matching refs:vn

2468 	int vn;  in bnx2x_calc_vn_min()  local
2470 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_calc_vn_min()
2471 u32 vn_cfg = bp->mf_config[vn]; in bnx2x_calc_vn_min()
2484 input->vnic_min_rate[vn] = vn_min_rate; in bnx2x_calc_vn_min()
2502 static void bnx2x_calc_vn_max(struct bnx2x *bp, int vn, in bnx2x_calc_vn_max() argument
2506 u32 vn_cfg = bp->mf_config[vn]; in bnx2x_calc_vn_max()
2521 DP(NETIF_MSG_IFUP, "vn %d: vn_max_rate %d\n", vn, vn_max_rate); in bnx2x_calc_vn_max()
2523 input->vnic_max_rate[vn] = vn_max_rate; in bnx2x_calc_vn_max()
2538 int vn, n = (CHIP_MODE_IS_4_PORT(bp) ? 2 : 1); in bnx2x_read_mf_cfg() local
2554 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_read_mf_cfg()
2555 int /*abs*/func = n * (2 * vn + BP_PORT(bp)) + BP_PATH(bp); in bnx2x_read_mf_cfg()
2560 bp->mf_config[vn] = in bnx2x_read_mf_cfg()
2580 int vn; in bnx2x_cmng_fns_init() local
2591 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) in bnx2x_cmng_fns_init()
2592 bnx2x_calc_vn_max(bp, vn, &input); in bnx2x_cmng_fns_init()
2611 int vn; in storm_memset_cmng() local
2619 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in storm_memset_cmng()
2620 int func = func_by_vn(bp, vn); in storm_memset_cmng()
2626 (u32 *)&cmng->vnic.vnic_max_rate[vn]); in storm_memset_cmng()
2632 (u32 *)&cmng->vnic.vnic_min_rate[vn]); in storm_memset_cmng()
11134 int vn = BP_VN(bp); in bnx2x_get_igu_cam_info() local
11136 bp->igu_base_sb = (CHIP_MODE_IS_4_PORT(bp) ? pfid : vn) * in bnx2x_get_igu_cam_info()
11140 (CHIP_MODE_IS_4_PORT(bp) ? pfid : vn); in bnx2x_get_igu_cam_info()
11923 int vn; in bnx2x_get_hwinfo() local
12011 vn = BP_VN(bp); in bnx2x_get_hwinfo()
12049 bp->mf_config[vn] = MF_CFG_RD(bp, in bnx2x_get_hwinfo()
12063 bp->mf_config[vn] = MF_CFG_RD(bp, in bnx2x_get_hwinfo()
12071 bp->mf_config[vn] = in bnx2x_get_hwinfo()
12095 bp->mf_config[vn] = in bnx2x_get_hwinfo()
12100 bp->mf_config[vn] = 0; in bnx2x_get_hwinfo()
12114 bp->mf_config[vn] = 0; in bnx2x_get_hwinfo()
12121 bp->mf_config[vn] = 0; in bnx2x_get_hwinfo()
12160 if (vn) { in bnx2x_get_hwinfo()
12163 vn); in bnx2x_get_hwinfo()