Re: [RFC] CDC NCM USB host driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 16 Jun 2010, Oliver Neukum wrote:

> Am Mittwoch, 16. Juni 2010 19:10:52 schrieb Alan Stern:
> > > So to make sure I got you right. The problem seems
> > > to me that for the scatter/gather as storage does the
> > > chunks need to be a multiple of the transfer size.
> > > 
> > > If we want to do this for networking we'd need to align
> > > the skbs to that size and build a virtual large package
> > > from a chain of skbs. Is that what you had in mind?
> > 
> > It looks like Dave meant that you can submit a large number of URBs,
> > each transferring an arbitrary amount of data.
> 
> Yes, but the device will notice if you send an incomplete packet.
> As the device is probably optimized for batching, this may be
> a problem.

What's wrong with sending a non-maximum-size packet?  Don't you do that
all the time?

Alan Stern

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux