Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A 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/drivers/infiniband/ulp/iser/
H A 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/include/scsi/
H A Dscsi_cmnd.h97 unsigned char prot_flags; member
388 if (scmd->prot_flags & SCSI_PROT_TRANSFER_PI) in scsi_transfer_length()
/linux/include/linux/qed/
H A Dnvmetcp_common.h191 struct nvmetcp_dif_flags prot_flags; member
H A Discsi_common.h1345 struct iscsi_dif_flags prot_flags; member
1369 struct iscsi_dif_flags prot_flags; member
/linux/drivers/scsi/lpfc/
H A Dlpfc_scsi.c1368 if (sc->prot_flags & SCSI_PROT_IP_CHECKSUM) { in lpfc_sc_to_bg_opcodes()
1447 if (sc->prot_flags & SCSI_PROT_IP_CHECKSUM) { in lpfc_bg_err_opcodes()
1592 if (sc->prot_flags & SCSI_PROT_GUARD_CHECK) in lpfc_bg_setup_bpl()
1597 if (sc->prot_flags & SCSI_PROT_REF_CHECK) in lpfc_bg_setup_bpl()
1754 if (sc->prot_flags & SCSI_PROT_GUARD_CHECK) in lpfc_bg_setup_bpl_prot()
1759 if (sc->prot_flags & SCSI_PROT_REF_CHECK) in lpfc_bg_setup_bpl_prot()
1970 if (sc->prot_flags & SCSI_PROT_GUARD_CHECK) in lpfc_bg_setup_sgl()
1975 if (sc->prot_flags & SCSI_PROT_REF_CHECK) in lpfc_bg_setup_sgl()
2198 if (sc->prot_flags & SCSI_PROT_GUARD_CHECK) { in lpfc_bg_setup_sgl_prot()
2216 if (sc->prot_flags & SCSI_PROT_REF_CHECK) in lpfc_bg_setup_sgl_prot()
[all …]
/linux/drivers/scsi/
H A Dsd.c815 scmd->prot_flags |= SCSI_PROT_IP_CHECKSUM; in sd_setup_protect_cmnd()
818 scmd->prot_flags |= SCSI_PROT_GUARD_CHECK; in sd_setup_protect_cmnd()
822 scmd->prot_flags |= SCSI_PROT_REF_INCREMENT; in sd_setup_protect_cmnd()
825 scmd->prot_flags |= SCSI_PROT_REF_CHECK; in sd_setup_protect_cmnd()
829 scmd->prot_flags |= SCSI_PROT_TRANSFER_PI; in sd_setup_protect_cmnd()
839 scmd->prot_flags &= sd_prot_flag_mask(prot_op); in sd_setup_protect_cmnd()
H A Dscsi_debug.c3979 } else if (scp->prot_flags & SCSI_PROT_GUARD_CHECK) { in resp_read_dt0()
3990 } else if (scp->prot_flags & SCSI_PROT_REF_CHECK) { in resp_read_dt0()
4268 if (scp->prot_flags & SCSI_PROT_GUARD_CHECK) { in resp_write_dt0()
4279 if (scp->prot_flags & SCSI_PROT_REF_CHECK) { in resp_write_dt0()
H A Dscsi_lib.c1639 cmd->prot_flags = 0; in scsi_prepare_cmd()
/linux/drivers/scsi/qla2xxx/
H A Dqla_target.h933 uint16_t prot_flags; member
H A 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/drivers/scsi/mpi3mr/
H A Dmpi3mr_os.c3100 if (scmd->prot_flags & SCSI_PROT_IP_CHECKSUM) { in mpi3mr_setup_eedp()
3113 if (scmd->prot_flags & SCSI_PROT_GUARD_CHECK) in mpi3mr_setup_eedp()
3116 if (scmd->prot_flags & SCSI_PROT_IP_CHECKSUM) in mpi3mr_setup_eedp()
3119 if (scmd->prot_flags & SCSI_PROT_REF_CHECK) { in mpi3mr_setup_eedp()
3126 if (scmd->prot_flags & SCSI_PROT_REF_INCREMENT) in mpi3mr_setup_eedp()
/linux/drivers/scsi/qedi/
H A Dqedi_fw_api.c115 init_dif_context_flags(&task_params->sqe->prot_flags, in init_sqe()
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c1192 unsigned char prot_flags = scsi_cmnd->prot_flags; in get_prot_chk_msk_v3_hw() local
1194 if (prot_flags & SCSI_PROT_REF_CHECK) in get_prot_chk_msk_v3_hw()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c5055 if (scmd->prot_flags & SCSI_PROT_GUARD_CHECK) in _scsih_setup_eedp()
5058 if (scmd->prot_flags & SCSI_PROT_REF_CHECK) in _scsih_setup_eedp()
5061 if (scmd->prot_flags & SCSI_PROT_REF_INCREMENT) { in _scsih_setup_eedp()