/linux-6.3-rc2/drivers/infiniband/ulp/iser/ |
A D | iser_memory.c | 194 struct ib_sig_attrs *sig_attrs) in iser_set_sig_attrs() argument 199 sig_attrs->mem.sig_type = IB_SIG_TYPE_NONE; in iser_set_sig_attrs() 200 iser_set_dif_domain(sc, &sig_attrs->wire); in iser_set_sig_attrs() 201 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 205 sig_attrs->wire.sig_type = IB_SIG_TYPE_NONE; in iser_set_sig_attrs() 206 iser_set_dif_domain(sc, &sig_attrs->mem); in iser_set_sig_attrs() 212 iser_set_dif_domain(sc, &sig_attrs->wire); in iser_set_sig_attrs() 213 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 214 iser_set_dif_domain(sc, &sig_attrs->mem); in iser_set_sig_attrs() 256 struct ib_sig_attrs *sig_attrs = mr->sig_attrs; in iser_reg_sig_mr() local [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/ |
A D | wr.c | 357 struct ib_sig_attrs *sig_attrs, in mlx5_set_bsf() argument 362 struct ib_sig_domain *mem = &sig_attrs->mem; in mlx5_set_bsf() 363 struct ib_sig_domain *wire = &sig_attrs->wire; in mlx5_set_bsf() 370 basic->check_byte_mask = sig_attrs->check_mask; in mlx5_set_bsf() 374 switch (sig_attrs->mem.sig_type) { in mlx5_set_bsf() 387 switch (sig_attrs->wire.sig_type) { in mlx5_set_bsf() 418 struct ib_sig_attrs *sig_attrs, in set_sig_data_segment() argument 564 struct ib_sig_attrs *sig_attrs = sig_mr->ibmr.sig_attrs; in set_pi_umr_wr() local 854 struct ib_sig_attrs *sig_attrs; in handle_reg_mr_integrity() local 912 sig_attrs = mr->ibmr.sig_attrs; in handle_reg_mr_integrity() [all …]
|
A D | mr.c | 2579 ibmr->sig_attrs->meta_length = pi_mr->meta_length; in mlx5_ib_map_mr_sg_pi() 2581 ibmr->sig_attrs->meta_length = mr->meta_length; in mlx5_ib_map_mr_sg_pi()
|
/linux-6.3-rc2/drivers/nvme/target/ |
A D | rdma.c | 596 struct ib_sig_attrs *sig_attrs) in nvmet_rdma_set_sig_attrs() argument 605 memset(sig_attrs, 0, sizeof(*sig_attrs)); in nvmet_rdma_set_sig_attrs() 609 sig_attrs->wire.sig_type = IB_SIG_TYPE_NONE; in nvmet_rdma_set_sig_attrs() 626 sig_attrs->check_mask |= IB_SIG_CHECK_REFTAG; in nvmet_rdma_set_sig_attrs() 628 sig_attrs->check_mask |= IB_SIG_CHECK_GUARD; in nvmet_rdma_set_sig_attrs() 630 sig_attrs->check_mask |= IB_SIG_CHECK_APPTAG; in nvmet_rdma_set_sig_attrs() 634 struct ib_sig_attrs *sig_attrs) in nvmet_rdma_rw_ctx_init() argument 643 req->metadata_sg, req->metadata_sg_cnt, sig_attrs, in nvmet_rdma_rw_ctx_init() 885 struct ib_sig_attrs sig_attrs; in nvmet_rdma_map_sgl_keyed() local 895 nvmet_rdma_set_sig_attrs(&rsp->req, &sig_attrs); in nvmet_rdma_map_sgl_keyed() [all …]
|
/linux-6.3-rc2/drivers/infiniband/ulp/isert/ |
A D | ib_isert.c | 2001 memset(sig_attrs, 0, sizeof(*sig_attrs)); in isert_set_sig_attrs() 2006 sig_attrs->mem.sig_type = IB_SIG_TYPE_NONE; in isert_set_sig_attrs() 2011 sig_attrs->wire.sig_type = IB_SIG_TYPE_NONE; in isert_set_sig_attrs() 2012 isert_set_dif_domain(se_cmd, &sig_attrs->mem); in isert_set_sig_attrs() 2017 isert_set_dif_domain(se_cmd, &sig_attrs->mem); in isert_set_sig_attrs() 2025 sig_attrs->check_mask |= IB_SIG_CHECK_GUARD; in isert_set_sig_attrs() 2027 sig_attrs->check_mask |= IB_SIG_CHECK_APPTAG; in isert_set_sig_attrs() 2029 sig_attrs->check_mask |= IB_SIG_CHECK_REFTAG; in isert_set_sig_attrs() 2059 struct ib_sig_attrs sig_attrs; in isert_rdma_rw_ctx_post() local 2061 ret = isert_set_sig_attrs(se_cmd, &sig_attrs); in isert_rdma_rw_ctx_post() [all …]
|
/linux-6.3-rc2/drivers/infiniband/core/ |
A D | rw.c | 367 struct ib_sig_attrs *sig_attrs, in rdma_rw_ctx_signature_init() argument 416 memcpy(ctx->reg->mr->sig_attrs, sig_attrs, sizeof(struct ib_sig_attrs)); in rdma_rw_ctx_signature_init() 439 if (sig_attrs->wire.sig_type == IB_SIG_TYPE_NONE) in rdma_rw_ctx_signature_init() 440 ctx->reg->sge.length -= ctx->reg->mr->sig_attrs->meta_length; in rdma_rw_ctx_signature_init()
|
A D | verbs.c | 2181 struct ib_sig_attrs *sig_attrs = mr->sig_attrs; in ib_dereg_mr_user() local 2191 kfree(sig_attrs); in ib_dereg_mr_user() 2237 mr->sig_attrs = NULL; in ib_alloc_mr() 2265 struct ib_sig_attrs *sig_attrs; in ib_alloc_mr_integrity() local 2278 sig_attrs = kzalloc(sizeof(struct ib_sig_attrs), GFP_KERNEL); in ib_alloc_mr_integrity() 2279 if (!sig_attrs) { in ib_alloc_mr_integrity() 2287 kfree(sig_attrs); in ib_alloc_mr_integrity() 2298 mr->sig_attrs = sig_attrs; in ib_alloc_mr_integrity()
|
A D | uverbs_cmd.c | 738 mr->sig_attrs = NULL; in ib_uverbs_reg_mr()
|
/linux-6.3-rc2/include/rdma/ |
A D | rw.h | 55 struct ib_sig_attrs *sig_attrs, u64 remote_addr, u32 rkey,
|
A D | ib_verbs.h | 1844 struct ib_sig_attrs *sig_attrs; /* only for IB_MR_TYPE_INTEGRITY MRs */ member
|
/linux-6.3-rc2/drivers/nvme/host/ |
A D | rdma.c | 1395 struct nvme_command *cmd, struct ib_sig_attrs *sig_attrs, in nvme_rdma_set_sig_attrs() argument 1400 memset(sig_attrs, 0, sizeof(*sig_attrs)); in nvme_rdma_set_sig_attrs() 1403 sig_attrs->mem.sig_type = IB_SIG_TYPE_NONE; in nvme_rdma_set_sig_attrs() 1404 nvme_rdma_set_sig_domain(bi, cmd, &sig_attrs->wire, control, in nvme_rdma_set_sig_attrs() 1411 nvme_rdma_set_sig_domain(bi, cmd, &sig_attrs->wire, control, in nvme_rdma_set_sig_attrs() 1413 nvme_rdma_set_sig_domain(bi, cmd, &sig_attrs->mem, control, in nvme_rdma_set_sig_attrs() 1456 req->mr->sig_attrs, ns->pi_type); in nvme_rdma_map_sg_pi() 1457 nvme_rdma_set_prot_checks(c, &req->mr->sig_attrs->check_mask); in nvme_rdma_map_sg_pi()
|