Re: Gadget driver & virtual hub

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

 



So another question :-)

Is it legal to break down a bulk (or ISO) IN request into packets that
are *smaller* than the Max EP size ?

For example, I have a max EP size of 512 bytes and the gadget gives me
an SG list where that's broken up into two segments (for example 2x256
bytes).

Now, I'm still trying to confirm with the vendor what happens here, but
I *suspect* that if I create 2 descriptors, the HW will break it down
into 2 packets smaller than the max EP size on the wire.

I do have vague memories of seeing "client" drivers in the past with
make assumptions that some "replies" are fully contained in a single
packet, so I'm tempted to say that this won't work, and thus should
bounce such packets through a linear buffer but I'd like confirmation.

Cheers,
Ben.

--
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