/linux-6.6.21/drivers/infiniband/ulp/iser/ |
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() 207 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? 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() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
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 480 u16 block_size = sig_attrs->mem.sig.dif.pi_interval; in set_sig_data_segment() 487 prot_size = prot_field_size(sig_attrs->mem.sig_type); in set_sig_data_segment() 517 ret = mlx5_set_bsf(sig_mr, sig_attrs, bsf, data_len); in set_sig_data_segment() [all …]
|
D | mr.c | 2599 ibmr->sig_attrs->meta_length = pi_mr->meta_length; in mlx5_ib_map_mr_sg_pi() 2601 ibmr->sig_attrs->meta_length = mr->meta_length; in mlx5_ib_map_mr_sg_pi()
|
/linux-6.6.21/drivers/nvme/target/ |
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() 610 nvmet_rdma_set_sig_domain(bi, cmd, &sig_attrs->mem, control, in nvmet_rdma_set_sig_attrs() 619 nvmet_rdma_set_sig_domain(bi, cmd, &sig_attrs->wire, control, in nvmet_rdma_set_sig_attrs() 621 nvmet_rdma_set_sig_domain(bi, cmd, &sig_attrs->mem, control, 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 [all …]
|
/linux-6.6.21/drivers/infiniband/core/ |
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()
|
D | verbs.c | 2250 struct ib_sig_attrs *sig_attrs = mr->sig_attrs; in ib_dereg_mr_user() local 2260 kfree(sig_attrs); in ib_dereg_mr_user() 2306 mr->sig_attrs = NULL; in ib_alloc_mr() 2334 struct ib_sig_attrs *sig_attrs; in ib_alloc_mr_integrity() local 2347 sig_attrs = kzalloc(sizeof(struct ib_sig_attrs), GFP_KERNEL); in ib_alloc_mr_integrity() 2348 if (!sig_attrs) { in ib_alloc_mr_integrity() 2356 kfree(sig_attrs); in ib_alloc_mr_integrity() 2367 mr->sig_attrs = sig_attrs; in ib_alloc_mr_integrity()
|
D | uverbs_cmd.c | 738 mr->sig_attrs = NULL; in ib_uverbs_reg_mr()
|
/linux-6.6.21/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 2003 isert_set_sig_attrs(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs) in isert_set_sig_attrs() argument 2005 memset(sig_attrs, 0, sizeof(*sig_attrs)); in isert_set_sig_attrs() 2010 sig_attrs->mem.sig_type = IB_SIG_TYPE_NONE; in isert_set_sig_attrs() 2011 isert_set_dif_domain(se_cmd, &sig_attrs->wire); in isert_set_sig_attrs() 2015 sig_attrs->wire.sig_type = IB_SIG_TYPE_NONE; in isert_set_sig_attrs() 2016 isert_set_dif_domain(se_cmd, &sig_attrs->mem); in isert_set_sig_attrs() 2020 isert_set_dif_domain(se_cmd, &sig_attrs->wire); in isert_set_sig_attrs() 2021 isert_set_dif_domain(se_cmd, &sig_attrs->mem); in isert_set_sig_attrs() 2029 sig_attrs->check_mask |= IB_SIG_CHECK_GUARD; in isert_set_sig_attrs() 2031 sig_attrs->check_mask |= IB_SIG_CHECK_APPTAG; in isert_set_sig_attrs() [all …]
|
/linux-6.6.21/include/rdma/ |
D | rw.h | 55 struct ib_sig_attrs *sig_attrs, u64 remote_addr, u32 rkey,
|
D | ib_verbs.h | 1844 struct ib_sig_attrs *sig_attrs; /* only for IB_MR_TYPE_INTEGRITY MRs */ member
|
/linux-6.6.21/drivers/nvme/host/ |
D | rdma.c | 1364 struct nvme_command *cmd, struct ib_sig_attrs *sig_attrs, in nvme_rdma_set_sig_attrs() argument 1369 memset(sig_attrs, 0, sizeof(*sig_attrs)); in nvme_rdma_set_sig_attrs() 1372 sig_attrs->mem.sig_type = IB_SIG_TYPE_NONE; in nvme_rdma_set_sig_attrs() 1373 nvme_rdma_set_sig_domain(bi, cmd, &sig_attrs->wire, control, in nvme_rdma_set_sig_attrs() 1380 nvme_rdma_set_sig_domain(bi, cmd, &sig_attrs->wire, control, in nvme_rdma_set_sig_attrs() 1382 nvme_rdma_set_sig_domain(bi, cmd, &sig_attrs->mem, control, in nvme_rdma_set_sig_attrs() 1425 req->mr->sig_attrs, ns->pi_type); in nvme_rdma_map_sg_pi() 1426 nvme_rdma_set_prot_checks(c, &req->mr->sig_attrs->check_mask); in nvme_rdma_map_sg_pi()
|