• Home
  • Raw
  • Download

Lines Matching refs:sriov

275 				if (!dev->sriov.is_going_down)  in smp_snoop()
288 !dev->sriov.is_going_down) { in smp_snoop()
405 if (dev->sriov.demux[port - 1].guid_cache[i] == guid) in mlx4_ib_find_real_gid()
474 tun_ctx = dev->sriov.demux[port-1].tun[slave]; in mlx4_ib_send_to_slave()
863 if (mlx4_is_master(dev->dev) && !dev->sriov.is_going_down) in handle_lid_change_event()
874 if (!dev->sriov.is_going_down) { in handle_client_rereg_event()
875 mlx4_ib_mcg_port_cleanup(&dev->sriov.demux[port_num - 1], 0); in handle_client_rereg_event()
984 if (mlx4_is_master(dev->dev) && !dev->sriov.is_going_down) in handle_port_mgmt_change_event()
992 else if (!dev->sriov.is_going_down) { in handle_port_mgmt_change_event()
1023 spin_lock_irqsave(&dev->sriov.going_down_lock, flags); in mlx4_ib_tunnel_comp_handler()
1024 if (!dev->sriov.is_going_down && ctx->state == DEMUX_PV_STATE_ACTIVE) in mlx4_ib_tunnel_comp_handler()
1026 spin_unlock_irqrestore(&dev->sriov.going_down_lock, flags); in mlx4_ib_tunnel_comp_handler()
1096 sqp_ctx = dev->sriov.sqps[port-1]; in mlx4_ib_send_to_wire()
1639 if (dev->sriov.demux[port - 1].tun[slave]) { in free_pv_object()
1640 kfree(dev->sriov.demux[port - 1].tun[slave]); in free_pv_object()
1641 dev->sriov.demux[port - 1].tun[slave] = NULL; in free_pv_object()
1720 ctx->wq = to_mdev(ibdev)->sriov.demux[port - 1].wq; in create_pv_resources()
1797 clean_vf_mcast(&dev->sriov.demux[port - 1], slave); in mlx4_ib_tunnels_update()
1801 dev->sriov.sqps[port - 1], 1); in mlx4_ib_tunnels_update()
1804 dev->sriov.demux[port - 1].tun[slave], 1); in mlx4_ib_tunnels_update()
1810 dev->sriov.demux[port - 1].tun[slave]); in mlx4_ib_tunnels_update()
1815 dev->sriov.sqps[port - 1]); in mlx4_ib_tunnels_update()
1959 dev->sriov.is_going_down = 0; in mlx4_ib_init_sriov()
1960 spin_lock_init(&dev->sriov.going_down_lock); in mlx4_ib_init_sriov()
1995 dev->sriov.demux[i].guid_cache[0] = gid.global.interface_id; in mlx4_ib_init_sriov()
1997 &dev->sriov.sqps[i]); in mlx4_ib_init_sriov()
2000 err = mlx4_ib_alloc_demux_ctx(dev, &dev->sriov.demux[i], i + 1); in mlx4_ib_init_sriov()
2012 mlx4_ib_free_demux_ctx(&dev->sriov.demux[i]); in mlx4_ib_init_sriov()
2033 spin_lock_irqsave(&dev->sriov.going_down_lock, flags); in mlx4_ib_close_sriov()
2034 dev->sriov.is_going_down = 1; in mlx4_ib_close_sriov()
2035 spin_unlock_irqrestore(&dev->sriov.going_down_lock, flags); in mlx4_ib_close_sriov()
2038 flush_workqueue(dev->sriov.demux[i].ud_wq); in mlx4_ib_close_sriov()
2039 mlx4_ib_free_sqp_ctx(dev->sriov.sqps[i]); in mlx4_ib_close_sriov()
2040 kfree(dev->sriov.sqps[i]); in mlx4_ib_close_sriov()
2041 dev->sriov.sqps[i] = NULL; in mlx4_ib_close_sriov()
2042 mlx4_ib_free_demux_ctx(&dev->sriov.demux[i]); in mlx4_ib_close_sriov()