Home
last modified time | relevance | path

Searched refs:vhca_buf (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/vfio/pci/mlx5/
Dmain.c119 static void mlx5vf_buf_read_done(struct mlx5_vhca_data_buffer *vhca_buf) in mlx5vf_buf_read_done() argument
121 struct mlx5_vf_migration_file *migf = vhca_buf->migf; in mlx5vf_buf_read_done()
123 if (vhca_buf->stop_copy_chunk_num) { in mlx5vf_buf_read_done()
124 bool is_header = vhca_buf->dma_dir == DMA_NONE; in mlx5vf_buf_read_done()
125 u8 chunk_num = vhca_buf->stop_copy_chunk_num; in mlx5vf_buf_read_done()
129 migf->buf_header[chunk_num - 1] = vhca_buf; in mlx5vf_buf_read_done()
131 migf->buf[chunk_num - 1] = vhca_buf; in mlx5vf_buf_read_done()
134 list_del_init(&vhca_buf->buf_elm); in mlx5vf_buf_read_done()
149 list_del_init(&vhca_buf->buf_elm); in mlx5vf_buf_read_done()
150 list_add_tail(&vhca_buf->buf_elm, &vhca_buf->migf->avail_list); in mlx5vf_buf_read_done()
[all …]