Searched refs:scat (Results 1 - 8 of 8) sorted by relevance
/freebsd-12-stable/contrib/ofed/libmlx5/ |
H A D | srq.c | 52 struct mlx5_wqe_data_seg *scat; local 58 scat = (struct mlx5_wqe_data_seg *) (next + 1); 61 copy = min_t(long, size, be32toh(scat->byte_count)); 62 memcpy((void *)(unsigned long)be64toh(scat->addr), buf, copy); 68 ++scat; 92 struct mlx5_wqe_data_seg *scat; local 117 scat = (struct mlx5_wqe_data_seg *) (next + 1); 120 scat[i].byte_count = htobe32(wr->sg_list[i].length); 121 scat[i].lkey = htobe32(wr->sg_list[i].lkey); 122 scat[ [all...] |
H A D | qp.c | 71 static int copy_to_scat(struct mlx5_wqe_data_seg *scat, void *buf, int *size, argument 81 copy = min_t(long, *size, be32toh(scat->byte_count)); 82 memcpy((void *)(unsigned long)be64toh(scat->addr), buf, copy); 88 ++scat; 95 struct mlx5_wqe_data_seg *scat; local 98 scat = get_recv_wqe(qp, idx); 100 ++scat; 102 return copy_to_scat(scat, buf, &size, max); 108 struct mlx5_wqe_data_seg *scat; local 137 scat 1065 struct mlx5_wqe_data_seg *scat; local 1138 struct mlx5_wqe_data_seg *scat; local [all...] |
/freebsd-12-stable/contrib/ofed/libmlx4/ |
H A D | srq.c | 68 struct mlx4_wqe_data_seg *scat; local 93 scat = (struct mlx4_wqe_data_seg *) (next + 1); 96 scat[i].byte_count = htobe32(wr->sg_list[i].length); 97 scat[i].lkey = htobe32(wr->sg_list[i].lkey); 98 scat[i].addr = htobe64(wr->sg_list[i].addr); 102 scat[i].byte_count = 0; 103 scat[i].lkey = htobe32(MLX4_INVALID_LKEY); 104 scat[i].addr = 0;
|
H A D | qp.c | 516 struct mlx4_wqe_data_seg *scat; local 541 scat = get_recv_wqe(qp, ind); 544 __set_data_seg(scat + i, wr->sg_list + i); 547 scat[i].byte_count = 0; 548 scat[i].lkey = htobe32(MLX4_INVALID_LKEY); 549 scat[i].addr = 0;
|
/freebsd-12-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_srq.c | 319 struct mlx4_wqe_data_seg *scat; local 351 scat = (struct mlx4_wqe_data_seg *) (next + 1); 354 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); 355 scat[i].lkey = cpu_to_be32(wr->sg_list[i].lkey); 356 scat[i].addr = cpu_to_be64(wr->sg_list[i].addr); 360 scat[i].byte_count = 0; 361 scat[i].lkey = cpu_to_be32(MLX4_INVALID_LKEY); 362 scat[i].addr = 0;
|
H A D | mlx4_ib_qp.c | 3270 struct mlx4_wqe_data_seg *scat; local 3304 scat = get_recv_wqe(qp, ind); 3312 scat->byte_count = 3315 scat->lkey = cpu_to_be32(wr->sg_list->lkey); 3316 scat->addr = cpu_to_be64(qp->sqp_proxy_rcv[ind].map); 3317 scat++; 3322 __set_data_seg(scat + i, wr->sg_list + i); 3325 scat[i].byte_count = 0; 3326 scat[i].lkey = cpu_to_be32(MLX4_INVALID_LKEY); 3327 scat[ [all...] |
/freebsd-12-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_srq.c | 435 struct mlx5_wqe_data_seg *scat; local 468 scat = (struct mlx5_wqe_data_seg *)(next + 1); 471 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); 472 scat[i].lkey = cpu_to_be32(wr->sg_list[i].lkey); 473 scat[i].addr = cpu_to_be64(wr->sg_list[i].addr); 477 scat[i].byte_count = 0; 478 scat[i].lkey = cpu_to_be32(MLX5_INVALID_LKEY); 479 scat[i].addr = 0;
|
H A D | mlx5_ib_qp.c | 4144 struct mlx5_wqe_data_seg *scat; local 4181 scat = get_recv_wqe(qp, ind); 4183 scat++; 4186 set_data_ptr_seg(scat + i, wr->sg_list + i); 4189 scat[i].byte_count = 0; 4190 scat[i].lkey = cpu_to_be32(MLX5_INVALID_LKEY); 4191 scat[i].addr = 0; 4195 sig = (struct mlx5_rwqe_sig *)scat;
|
Completed in 142 milliseconds