Lines Matching refs:slave_state
293 struct mlx4_slave_state *slave_state; in mlx4_handle_vst_qinq() local
299 slave_state = &priv->mfunc.master.slave_state[slave]; in mlx4_handle_vst_qinq()
302 (!slave_state->active)) in mlx4_handle_vst_qinq()
310 if (!slave_state->vst_qinq_supported) { in mlx4_handle_vst_qinq()
453 struct mlx4_slave_state *slave_state = in mlx4_QUERY_FUNC_CAP_wrapper() local
454 &priv->mfunc.master.slave_state[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
531 slave_state->vst_qinq_supported = true; in mlx4_QUERY_FUNC_CAP_wrapper()
2266 if (priv->mfunc.master.slave_state[slave].init_port_mask & (1 << port)) in mlx4_INIT_PORT_wrapper()
2277 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); 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()
2364 if (!(priv->mfunc.master.slave_state[slave].init_port_mask & in mlx4_CLOSE_PORT_wrapper()
2375 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
2385 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
2389 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()