Lines Matching refs:mfunc

376 		size = priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[slave];  in mlx4_QUERY_FUNC_CAP_wrapper()
381 size = priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
386 size = priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
410 size = priv->mfunc.master.res_tracker.res_alloc[RES_MPT].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
415 size = priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
1272 def_mac = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.mac; in mlx4_QUERY_PORT_wrapper()
1284 admin_link_state = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.link_state; in mlx4_QUERY_PORT_wrapper()
2038 if (priv->mfunc.master.qp0_state[port].proxy_qp0_active && in check_qp0_state()
2039 priv->mfunc.master.qp0_state[port].qp0_active) in check_qp0_state()
2057 if (priv->mfunc.master.slave_state[slave].init_port_mask & (1 << port)) in mlx4_INIT_PORT_wrapper()
2062 if (!priv->mfunc.master.init_port_ref[port]) { in mlx4_INIT_PORT_wrapper()
2068 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()
2072 !priv->mfunc.master.qp0_state[port].port_active) { in mlx4_INIT_PORT_wrapper()
2077 priv->mfunc.master.qp0_state[port].port_active = 1; in mlx4_INIT_PORT_wrapper()
2078 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()
2081 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()
2083 ++priv->mfunc.master.init_port_ref[port]; in mlx4_INIT_PORT_wrapper()
2155 if (!(priv->mfunc.master.slave_state[slave].init_port_mask & in mlx4_CLOSE_PORT_wrapper()
2160 if (priv->mfunc.master.init_port_ref[port] == 1) { in mlx4_CLOSE_PORT_wrapper()
2166 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
2170 if (!priv->mfunc.master.qp0_state[port].qp0_active && in mlx4_CLOSE_PORT_wrapper()
2171 priv->mfunc.master.qp0_state[port].port_active) { in mlx4_CLOSE_PORT_wrapper()
2176 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
2177 priv->mfunc.master.qp0_state[port].port_active = 0; in mlx4_CLOSE_PORT_wrapper()
2180 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
2182 --priv->mfunc.master.init_port_ref[port]; in mlx4_CLOSE_PORT_wrapper()