search for: tirn

Displaying 5 results from an estimated 5 matches for "tirn".

Did you mean: tian
2020 Sep 28
0
[PATCH V1 vhost-next] vdpa/mlx5: Make vdpa core driver a distinct module
...x5_vdpa_destroy_rqt(struct mlx5_vdpa_dev *mvdev, u32 rqtn) > MLX5_SET(destroy_rqt_in, in, rqtn, rqtn); > mlx5_cmd_exec_in(mvdev->mdev, destroy_rqt, in); > } > +EXPORT_SYMBOL(mlx5_vdpa_destroy_rqt); > > int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn) > { > @@ -144,6 +148,7 @@ int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn) > > return err; > } > +EXPORT_SYMBOL(mlx5_vdpa_create_tir); > > void mlx5_vdpa_destroy_tir(struct mlx5_vdpa_dev *mvdev, u32 tirn) > { > @@ -154,6 +159,7 @@ v...
2020 Sep 29
0
[PATCH V1 vhost-next] vdpa/mlx5: Make vdpa core driver a distinct module
...gt; > > MLX5_SET(destroy_rqt_in, in, rqtn, rqtn); > > > mlx5_cmd_exec_in(mvdev->mdev, destroy_rqt, in); > > > } > > > +EXPORT_SYMBOL(mlx5_vdpa_destroy_rqt); > > > > > > int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn) > > > { > > > @@ -144,6 +148,7 @@ int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn) > > > > > > return err; > > > } > > > +EXPORT_SYMBOL(mlx5_vdpa_create_tir); > > > > > > void mlx5_vdpa_destr...
2020 Sep 29
0
[PATCH V1 vhost-next] vdpa/mlx5: Make vdpa core driver a distinct module
...rqtn); > > > > > mlx5_cmd_exec_in(mvdev->mdev, destroy_rqt, in); > > > > > } > > > > > +EXPORT_SYMBOL(mlx5_vdpa_destroy_rqt); > > > > > > > > > > int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn) > > > > > { > > > > > @@ -144,6 +148,7 @@ int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn) > > > > > > > > > > return err; > > > > > } > > > > > +EXPORT_SYMBOL(mlx5_vdpa_create...
2020 Sep 29
0
[PATCH V1 vhost-next] vdpa/mlx5: Make vdpa core driver a distinct module
...cmd_exec_in(mvdev->mdev, destroy_rqt, in); > > > > > > > } > > > > > > > +EXPORT_SYMBOL(mlx5_vdpa_destroy_rqt); > > > > > > > > > > > > > > int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn) > > > > > > > { > > > > > > > @@ -144,6 +148,7 @@ int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn) > > > > > > > > > > > > > > return err; > > > > > > > } > &...
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...\ > + (VIRTIO_CONFIG_S_ACKNOWLEDGE | VIRTIO_CONFIG_S_DRIVER | VIRTIO_CONFIG_S_DRIVER_OK | \ > + VIRTIO_CONFIG_S_FEATURES_OK | VIRTIO_CONFIG_S_NEEDS_RESET | VIRTIO_CONFIG_S_FAILED) > + > +struct mlx5_vdpa_net_resources { > + u32 tisn; > + u32 tdn; > + u32 tirn; > + u32 rqtn; > + bool valid; > +}; > + > +struct mlx5_vdpa_cq_buf { > + struct mlx5_frag_buf_ctrl fbc; > + struct mlx5_frag_buf frag_buf; > + int cqe_size; > + int nent; > +}; > + > +struct mlx5_vdpa_cq { > + struct mlx5_core_cq mcq; > + struct mlx5_vdpa_...