Lines Matching refs:mfunc
386 size = priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
391 size = priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
396 size = priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
420 size = priv->mfunc.master.res_tracker.res_alloc[RES_MPT].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
425 size = priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
1296 def_mac = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.mac; in mlx4_QUERY_PORT_wrapper()
1308 admin_link_state = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.link_state; in mlx4_QUERY_PORT_wrapper()
2066 if (priv->mfunc.master.qp0_state[port].proxy_qp0_active && in check_qp0_state()
2067 priv->mfunc.master.qp0_state[port].qp0_active) in check_qp0_state()
2085 if (priv->mfunc.master.slave_state[slave].init_port_mask & (1 << port)) in mlx4_INIT_PORT_wrapper()
2090 if (!priv->mfunc.master.init_port_ref[port]) { in mlx4_INIT_PORT_wrapper()
2096 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()
2100 !priv->mfunc.master.qp0_state[port].port_active) { in mlx4_INIT_PORT_wrapper()
2105 priv->mfunc.master.qp0_state[port].port_active = 1; in mlx4_INIT_PORT_wrapper()
2106 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()
2109 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()
2111 ++priv->mfunc.master.init_port_ref[port]; in mlx4_INIT_PORT_wrapper()
2183 if (!(priv->mfunc.master.slave_state[slave].init_port_mask & in mlx4_CLOSE_PORT_wrapper()
2188 if (priv->mfunc.master.init_port_ref[port] == 1) { in mlx4_CLOSE_PORT_wrapper()
2194 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
2198 if (!priv->mfunc.master.qp0_state[port].qp0_active && in mlx4_CLOSE_PORT_wrapper()
2199 priv->mfunc.master.qp0_state[port].port_active) { in mlx4_CLOSE_PORT_wrapper()
2204 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
2205 priv->mfunc.master.qp0_state[port].port_active = 0; in mlx4_CLOSE_PORT_wrapper()
2208 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
2210 --priv->mfunc.master.init_port_ref[port]; in mlx4_CLOSE_PORT_wrapper()