Searched refs:vfs_ctx (Results 1 – 3 of 3) sorted by relevance
99 struct mlx5_vf_context *vfs_ctx = mdev->priv.sriov.vfs_ctx; in mlx5_ib_set_vf_link_state() local114 vfs_ctx[vf].policy = in->policy; in mlx5_ib_set_vf_link_state()158 struct mlx5_vf_context *vfs_ctx = mdev->priv.sriov.vfs_ctx; in set_vf_node_guid() local169 vfs_ctx[vf].node_guid = guid; in set_vf_node_guid()170 vfs_ctx[vf].node_guid_valid = 1; in set_vf_node_guid()182 struct mlx5_vf_context *vfs_ctx = mdev->priv.sriov.vfs_ctx; in set_vf_port_guid() local193 vfs_ctx[vf].port_guid = guid; in set_vf_port_guid()194 vfs_ctx[vf].port_guid_valid = 1; in set_vf_port_guid()217 struct mlx5_vf_context *vfs_ctx = mdev->priv.sriov.vfs_ctx; in mlx5_ib_get_vf_guid() local220 vfs_ctx[vf].node_guid_valid ? vfs_ctx[vf].node_guid : 0; in mlx5_ib_get_vf_guid()[all …]
47 if (sriov->vfs_ctx[vf].node_guid || in sriov_restore_guids()48 sriov->vfs_ctx[vf].port_guid || in sriov_restore_guids()49 sriov->vfs_ctx[vf].policy != MLX5_POLICY_INVALID) { in sriov_restore_guids()54 in->node_guid = sriov->vfs_ctx[vf].node_guid; in sriov_restore_guids()55 in->port_guid = sriov->vfs_ctx[vf].port_guid; in sriov_restore_guids()56 in->policy = sriov->vfs_ctx[vf].policy; in sriov_restore_guids()104 sriov->vfs_ctx[vf].enabled = 1; in mlx5_device_enable_sriov()128 if (!sriov->vfs_ctx[vf].enabled) in mlx5_device_disable_sriov()135 sriov->vfs_ctx[vf].enabled = 0; in mlx5_device_disable_sriov()213 if (!sriov->vfs_ctx[id].enabled) in mlx5_core_sriov_set_msix_vec_count()[all …]
468 struct mlx5_vf_context *vfs_ctx; member