Lines Matching refs:mfunc

265 	vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port];  in mlx4_activate_vst_qinq()
266 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_activate_vst_qinq()
297 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_handle_vst_qinq()
298 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_handle_vst_qinq()
299 slave_state = &priv->mfunc.master.slave_state[slave]; in mlx4_handle_vst_qinq()
438 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_QUERY_FUNC_CAP_wrapper()
454 &priv->mfunc.master.slave_state[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
475 size = priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
480 size = priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
485 size = priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
509 size = priv->mfunc.master.res_tracker.res_alloc[RES_MPT].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
514 size = priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
1442 def_mac = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.mac; in mlx4_QUERY_PORT_wrapper()
1454 admin_link_state = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.link_state; in mlx4_QUERY_PORT_wrapper()
2247 if (priv->mfunc.master.qp0_state[port].proxy_qp0_active && in check_qp0_state()
2248 priv->mfunc.master.qp0_state[port].qp0_active) in check_qp0_state()
2266 if (priv->mfunc.master.slave_state[slave].init_port_mask & (1 << port)) in mlx4_INIT_PORT_wrapper()
2271 if (!priv->mfunc.master.init_port_ref[port]) { in mlx4_INIT_PORT_wrapper()
2277 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()
2281 !priv->mfunc.master.qp0_state[port].port_active) { in mlx4_INIT_PORT_wrapper()
2286 priv->mfunc.master.qp0_state[port].port_active = 1; in mlx4_INIT_PORT_wrapper()
2287 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()
2290 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()
2292 ++priv->mfunc.master.init_port_ref[port]; in mlx4_INIT_PORT_wrapper()
2364 if (!(priv->mfunc.master.slave_state[slave].init_port_mask & in mlx4_CLOSE_PORT_wrapper()
2369 if (priv->mfunc.master.init_port_ref[port] == 1) { in mlx4_CLOSE_PORT_wrapper()
2375 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
2379 if (!priv->mfunc.master.qp0_state[port].qp0_active && in mlx4_CLOSE_PORT_wrapper()
2380 priv->mfunc.master.qp0_state[port].port_active) { in mlx4_CLOSE_PORT_wrapper()
2385 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
2386 priv->mfunc.master.qp0_state[port].port_active = 0; in mlx4_CLOSE_PORT_wrapper()
2389 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
2391 --priv->mfunc.master.init_port_ref[port]; in mlx4_CLOSE_PORT_wrapper()