Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0788a52 authored by manish.rangankar@cavium.com's avatar manish.rangankar@cavium.com Committed by Martin K. Petersen
Browse files

scsi: qedi: Set dma_boundary to 0xfff.

parent fc2fbf0d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 {
+1 −0
Original line number Diff line number Diff line
@@ -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,