/linux/drivers/infiniband/ulp/iser/ |
A D | iser_memory.c | 180 sig_attrs->mem.sig_type = IB_SIG_TYPE_NONE; in iser_set_sig_attrs() 181 iser_set_dif_domain(sc, &sig_attrs->wire); in iser_set_sig_attrs() 182 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 186 sig_attrs->wire.sig_type = IB_SIG_TYPE_NONE; in iser_set_sig_attrs() 187 iser_set_dif_domain(sc, &sig_attrs->mem); in iser_set_sig_attrs() 193 iser_set_dif_domain(sc, &sig_attrs->wire); in iser_set_sig_attrs() 194 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 195 iser_set_dif_domain(sc, &sig_attrs->mem); in iser_set_sig_attrs() 242 struct ib_sig_attrs *sig_attrs = mr->sig_attrs; in iser_reg_sig_mr() local 246 memset(sig_attrs, 0, sizeof(*sig_attrs)); in iser_reg_sig_mr() [all …]
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | wr.c | 578 struct ib_sig_attrs *sig_attrs, in mlx5_set_bsf() argument 583 struct ib_sig_domain *mem = &sig_attrs->mem; in mlx5_set_bsf() 584 struct ib_sig_domain *wire = &sig_attrs->wire; in mlx5_set_bsf() 591 basic->check_byte_mask = sig_attrs->check_mask; in mlx5_set_bsf() 595 switch (sig_attrs->mem.sig_type) { in mlx5_set_bsf() 608 switch (sig_attrs->wire.sig_type) { in mlx5_set_bsf() 639 struct ib_sig_attrs *sig_attrs, in set_sig_data_segment() argument 785 struct ib_sig_attrs *sig_attrs = sig_mr->ibmr.sig_attrs; in set_pi_umr_wr() local 1078 struct ib_sig_attrs *sig_attrs; in handle_reg_mr_integrity() local 1136 sig_attrs = mr->ibmr.sig_attrs; in handle_reg_mr_integrity() [all …]
|
A D | mr.c | 2665 ibmr->sig_attrs->meta_length = pi_mr->meta_length; in mlx5_ib_map_mr_sg_pi() 2667 ibmr->sig_attrs->meta_length = mr->meta_length; in mlx5_ib_map_mr_sg_pi()
|
/linux/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/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/drivers/infiniband/core/ |
A D | rw.c | 393 struct ib_sig_attrs *sig_attrs, in rdma_rw_ctx_signature_init() argument 442 memcpy(ctx->reg->mr->sig_attrs, sig_attrs, sizeof(struct ib_sig_attrs)); in rdma_rw_ctx_signature_init() 465 if (sig_attrs->wire.sig_type == IB_SIG_TYPE_NONE) in rdma_rw_ctx_signature_init() 466 ctx->reg->sge.length -= ctx->reg->mr->sig_attrs->meta_length; in rdma_rw_ctx_signature_init()
|
A D | verbs.c | 2186 struct ib_sig_attrs *sig_attrs = mr->sig_attrs; in ib_dereg_mr_user() local 2196 kfree(sig_attrs); in ib_dereg_mr_user() 2242 mr->sig_attrs = NULL; in ib_alloc_mr() 2270 struct ib_sig_attrs *sig_attrs; in ib_alloc_mr_integrity() local 2283 sig_attrs = kzalloc(sizeof(struct ib_sig_attrs), GFP_KERNEL); in ib_alloc_mr_integrity() 2284 if (!sig_attrs) { in ib_alloc_mr_integrity() 2292 kfree(sig_attrs); in ib_alloc_mr_integrity() 2303 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/include/rdma/ |
A D | rw.h | 55 struct ib_sig_attrs *sig_attrs, u64 remote_addr, u32 rkey,
|
A D | ib_verbs.h | 1816 struct ib_sig_attrs *sig_attrs; /* only for IB_MR_TYPE_INTEGRITY MRs */ member
|
/linux/drivers/nvme/host/ |
A D | rdma.c | 1431 struct nvme_command *cmd, struct ib_sig_attrs *sig_attrs, in nvme_rdma_set_sig_attrs() argument 1436 memset(sig_attrs, 0, sizeof(*sig_attrs)); in nvme_rdma_set_sig_attrs() 1439 sig_attrs->mem.sig_type = IB_SIG_TYPE_NONE; in nvme_rdma_set_sig_attrs() 1440 nvme_rdma_set_sig_domain(bi, cmd, &sig_attrs->wire, control, in nvme_rdma_set_sig_attrs() 1447 nvme_rdma_set_sig_domain(bi, cmd, &sig_attrs->wire, control, in nvme_rdma_set_sig_attrs() 1449 nvme_rdma_set_sig_domain(bi, cmd, &sig_attrs->mem, control, in nvme_rdma_set_sig_attrs() 1492 req->mr->sig_attrs, ns->pi_type); in nvme_rdma_map_sg_pi() 1493 nvme_rdma_set_prot_checks(c, &req->mr->sig_attrs->check_mask); in nvme_rdma_map_sg_pi()
|