Search Linux Wireless

Re: [PATCH 1/2] add mt7601u driver

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

 



On Mon, 2015-05-04 at 12:04 +0200, Jakub Kiciński wrote:

> > Don't know how your buffers are set up, but if the DMA engine consumes
> > pages you could consider using paged RX instead of the memcpy().
> 
> DMA engine can concatenate multiple frames into a single USB bulk
> transfer to a large continuous buffer.  There is no way to request 
> any alignment of the frames within that large buffer so I think paged 
> RX is not an option.

You could probably still do it because the networking stack only
requires the *headers* to be aligned. But if they headers aren't in the
skb->data (skb->head) then they'll be pulled into that by the network
stack, where they'll be aligned.

johannes

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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux