scsi: introduce a max_segment_size host_template parameters
This allows the host driver to indicate the maximum supported segment size in a nice an easy way, so that the driver doesn't have to worry about DMA-layer imposed limitations. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Bart Van Assche <bvanassche@acm.org> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com>
Showing
- drivers/scsi/be2iscsi/be_main.c 1 addition, 7 deletionsdrivers/scsi/be2iscsi/be_main.c
- drivers/scsi/hosts.c 5 additions, 0 deletionsdrivers/scsi/hosts.c
- drivers/scsi/scsi_debug.c 1 addition, 1 deletiondrivers/scsi/scsi_debug.c
- drivers/scsi/scsi_lib.c 2 additions, 1 deletiondrivers/scsi/scsi_lib.c
- include/scsi/scsi_host.h 6 additions, 0 deletionsinclude/scsi/scsi_host.h
Loading
Please register or sign in to comment