Re: [PATCH v2 1/3] dmaengine: add new dma API formax_segment_number

From: FUJITA Tomonori
Date: Wed Jun 08 2011 - 03:11:37 EST


On Tue, 7 Jun 2011 23:56:21 -0700
Dan Williams <dan.j.williams@xxxxxxxxx> wrote:

> > The dma parameter restriction could be due to software (HBA drivers,
> > or subsystem). The value should be whatever the dma device driver says
> > it is in such case?
>
> I'm assuming that the dma driver is taking responsibility for setting
> this correctly. How would this work otherwise... HBA driver or
> subsystem queries the dmaengine device and then sets this parameter on
> its behalf? In other words dmanengine *is* the subsystem, if I am
> understanding your definition.

Oops, I meant that the subsystem is software layer above
dmaengine. For example, SCSI subsystem sets the limit of max number of
sglist entries. That is, it is possible that software layer above
dmaengine could set dma limit, which is smaller than the limit of
dmaengine?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/