Searched refs:vfs_ctx (Results 1 – 3 of 3) sorted by relevance
47 if (sriov->vfs_ctx[vf].node_guid || in sriov_restore_guids()48 sriov->vfs_ctx[vf].port_guid || in sriov_restore_guids()109 sriov->vfs_ctx[vf].enabled = 1; in mlx5_device_enable_sriov()133 if (!sriov->vfs_ctx[vf].enabled) in mlx5_device_disable_sriov()145 sriov->vfs_ctx[vf].enabled = 0; in mlx5_device_disable_sriov()287 sriov->vfs_ctx = kcalloc(total_vfs, sizeof(*sriov->vfs_ctx), GFP_KERNEL); in mlx5_sriov_init()288 if (!sriov->vfs_ctx) in mlx5_sriov_init()304 kfree(sriov->vfs_ctx); in mlx5_sriov_cleanup()319 struct mlx5_vf_context *vfs_ctx; in mlx5_sriov_blocking_notifier_unregister() local326 vfs_ctx = &sriov->vfs_ctx[vf_id]; in mlx5_sriov_blocking_notifier_unregister()[all …]
98 struct mlx5_vf_context *vfs_ctx = mdev->priv.sriov.vfs_ctx; in mlx5_ib_set_vf_link_state() local113 vfs_ctx[vf].policy = in->policy; in mlx5_ib_set_vf_link_state()157 struct mlx5_vf_context *vfs_ctx = mdev->priv.sriov.vfs_ctx; in set_vf_node_guid() local168 vfs_ctx[vf].node_guid = guid; in set_vf_node_guid()169 vfs_ctx[vf].node_guid_valid = 1; in set_vf_node_guid()181 struct mlx5_vf_context *vfs_ctx = mdev->priv.sriov.vfs_ctx; in set_vf_port_guid() local192 vfs_ctx[vf].port_guid = guid; in set_vf_port_guid()193 vfs_ctx[vf].port_guid_valid = 1; in set_vf_port_guid()216 struct mlx5_vf_context *vfs_ctx = mdev->priv.sriov.vfs_ctx; in mlx5_ib_get_vf_guid() local219 vfs_ctx[vf].node_guid_valid ? vfs_ctx[vf].node_guid : 0; in mlx5_ib_get_vf_guid()[all …]
472 struct mlx5_vf_context *vfs_ctx; member
Completed in 9 milliseconds