mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
scsi: qedi: Set dma_boundary to 0xfff.
Signed-off-by: Manish Rangankar <manish.rangankar@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
fc2fbf0d42
commit
d0788a528d
@ -63,6 +63,7 @@ struct qedi_endpoint;
|
||||
#define QEDI_PAGE_MASK (~((QEDI_PAGE_SIZE) - 1))
|
||||
|
||||
#define QEDI_PAGE_SIZE 4096
|
||||
#define QEDI_HW_DMA_BOUNDARY 0xfff
|
||||
#define QEDI_PATH_HANDLE 0xFE0000000UL
|
||||
|
||||
struct qedi_uio_ctrl {
|
||||
|
@ -59,6 +59,7 @@ struct scsi_host_template qedi_host_template = {
|
||||
.this_id = -1,
|
||||
.sg_tablesize = QEDI_ISCSI_MAX_BDS_PER_CMD,
|
||||
.max_sectors = 0xffff,
|
||||
.dma_boundary = QEDI_HW_DMA_BOUNDARY,
|
||||
.cmd_per_lun = 128,
|
||||
.use_clustering = ENABLE_CLUSTERING,
|
||||
.shost_attrs = qedi_shost_attrs,
|
||||
|
Loading…
Reference in New Issue
Block a user