Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dcsum.c14 u32 prot_flags = TCA_CSUM_UPDATE_FLAG_IPV4HDR | TCA_CSUM_UPDATE_FLAG_TCP | in csum_offload_supported() local
26 if (update_flags & ~prot_flags) { in csum_offload_supported()
/linux-6.6.21/drivers/infiniband/ulp/iser/
Diser_memory.c189 if (sc->prot_flags & SCSI_PROT_REF_INCREMENT) in iser_set_dif_domain()
207 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs()
215 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs()
230 if (sc->prot_flags & SCSI_PROT_REF_CHECK) in iser_set_prot_checks()
232 if (sc->prot_flags & SCSI_PROT_GUARD_CHECK) in iser_set_prot_checks()
/linux-6.6.21/include/scsi/
Dscsi_cmnd.h97 unsigned char prot_flags; member
386 if (scmd->prot_flags & SCSI_PROT_TRANSFER_PI) in scsi_transfer_length()
/linux-6.6.21/include/linux/qed/
Dnvmetcp_common.h191 struct nvmetcp_dif_flags prot_flags; member
Discsi_common.h1345 struct iscsi_dif_flags prot_flags; member
1369 struct iscsi_dif_flags prot_flags; member
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_scsi.c1371 if (sc->prot_flags & SCSI_PROT_IP_CHECKSUM) { in lpfc_sc_to_bg_opcodes()
1450 if (sc->prot_flags & SCSI_PROT_IP_CHECKSUM) { in lpfc_bg_err_opcodes()
1595 if (sc->prot_flags & SCSI_PROT_GUARD_CHECK) in lpfc_bg_setup_bpl()
1600 if (sc->prot_flags & SCSI_PROT_REF_CHECK) in lpfc_bg_setup_bpl()
1757 if (sc->prot_flags & SCSI_PROT_GUARD_CHECK) in lpfc_bg_setup_bpl_prot()
1762 if (sc->prot_flags & SCSI_PROT_REF_CHECK) in lpfc_bg_setup_bpl_prot()
1973 if (sc->prot_flags & SCSI_PROT_GUARD_CHECK) in lpfc_bg_setup_sgl()
1978 if (sc->prot_flags & SCSI_PROT_REF_CHECK) in lpfc_bg_setup_sgl()
2201 if (sc->prot_flags & SCSI_PROT_GUARD_CHECK) { in lpfc_bg_setup_sgl_prot()
2219 if (sc->prot_flags & SCSI_PROT_REF_CHECK) in lpfc_bg_setup_sgl_prot()
[all …]
/linux-6.6.21/drivers/scsi/
Dsd.c794 scmd->prot_flags |= SCSI_PROT_IP_CHECKSUM; in sd_setup_protect_cmnd()
797 scmd->prot_flags |= SCSI_PROT_GUARD_CHECK; in sd_setup_protect_cmnd()
801 scmd->prot_flags |= SCSI_PROT_REF_INCREMENT; in sd_setup_protect_cmnd()
804 scmd->prot_flags |= SCSI_PROT_REF_CHECK; in sd_setup_protect_cmnd()
808 scmd->prot_flags |= SCSI_PROT_TRANSFER_PI; in sd_setup_protect_cmnd()
818 scmd->prot_flags &= sd_prot_flag_mask(prot_op); in sd_setup_protect_cmnd()
Dscsi_debug.c3378 } else if (scp->prot_flags & SCSI_PROT_GUARD_CHECK) { in resp_read_dt0()
3389 } else if (scp->prot_flags & SCSI_PROT_REF_CHECK) { in resp_read_dt0()
3652 if (scp->prot_flags & SCSI_PROT_GUARD_CHECK) { in resp_write_dt0()
3663 if (scp->prot_flags & SCSI_PROT_REF_CHECK) { in resp_write_dt0()
Dscsi_lib.c1556 cmd->prot_flags = 0; in scsi_prepare_cmd()
/linux-6.6.21/drivers/scsi/mpi3mr/
Dmpi3mr_os.c2980 if (scmd->prot_flags & SCSI_PROT_IP_CHECKSUM) { in mpi3mr_setup_eedp()
2993 if (scmd->prot_flags & SCSI_PROT_GUARD_CHECK) in mpi3mr_setup_eedp()
2996 if (scmd->prot_flags & SCSI_PROT_IP_CHECKSUM) in mpi3mr_setup_eedp()
2999 if (scmd->prot_flags & SCSI_PROT_REF_CHECK) { in mpi3mr_setup_eedp()
3006 if (scmd->prot_flags & SCSI_PROT_REF_INCREMENT) in mpi3mr_setup_eedp()
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_target.h933 uint16_t prot_flags; member
Dqla_iocb.c169 if (cmd->prot_flags & SCSI_PROT_IP_CHECKSUM) in qla24xx_configure_prot_mode()
179 if (!(cmd->prot_flags & SCSI_PROT_GUARD_CHECK)) in qla24xx_configure_prot_mode()
779 if (cmd->prot_flags & SCSI_PROT_REF_CHECK && in qla24xx_set_t10dif_tags()
1190 tc->prot_flags = DIF_BUNDL_DMA_VALID; in qla24xx_walk_and_build_prot_sglist()
/linux-6.6.21/drivers/scsi/qedi/
Dqedi_fw_api.c115 init_dif_context_flags(&task_params->sqe->prot_flags, in init_sqe()
/linux-6.6.21/drivers/scsi/hisi_sas/
Dhisi_sas_v3_hw.c1193 unsigned char prot_flags = scsi_cmnd->prot_flags; in get_prot_chk_msk_v3_hw() local
1195 if (prot_flags & SCSI_PROT_REF_CHECK) in get_prot_chk_msk_v3_hw()
/linux-6.6.21/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c5064 if (scmd->prot_flags & SCSI_PROT_GUARD_CHECK) in _scsih_setup_eedp()
5067 if (scmd->prot_flags & SCSI_PROT_REF_CHECK) in _scsih_setup_eedp()
5070 if (scmd->prot_flags & SCSI_PROT_REF_INCREMENT) { in _scsih_setup_eedp()