mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
This patch updates iscsi/iser-target to add a new fabric_prot_type TPG attribute for iser-target, used for controlling LLD level protection into LIO when the backend device does not support T10-PI. This is required for ib_isert to enable WRITE_STRIP + READ_INSERT hardware offloads. It's disabled by default and controls which se_sesion->sess_prot_type are set at iscsi_target_locate_portal() session registration time. Cc: Sagi Grimberg <[email protected]> Cc: Martin Petersen <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>