Am Sonntag, 13. Juni 2010 13:12:12 schrieb David Brownell: > > --- On Sun, 6/13/10, Oliver Neukum <oliver@xxxxxxxxxx> wrote: > > > That would require shared constraints for the batching. > > It would require a shared abstraction, that's > all ... for example, a method along the lines > of a maybe_add_to_batch(packet, batch)) call. Very good idea. That would work. > There's a difference between a small handful > of header field assignments > > like packet->hdr.fieldX = ... > > and a memcpy of maybe 2KB of packet data. > Packet size distributions are actually bimodal, > and the larger size is probably not quite 2K. I guess in practice the packet size will be a standard ethernet frame or a bit smaller. Unfortunately we cannot scatter/gather that size. Regards Oliver -- 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