Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9a3cf92a authored by Sujeet Kumar's avatar Sujeet Kumar Committed by Gerrit - the friendly Code Review server
Browse files

USB: gadget: u_ether: unalign IP header to make DMA aligned



NET_IP_ALIGN value 2 helps to align the IP packet buffer
and this may help CPU handling of IP packets. But, this
causes the RNDIS RX buffer pointer to become unaligned.
Some USB controller DMA engines may expect aligned buffers
for efficient data transfers, otherwise takes extra cycles
and may cause performance penalty. Chip Idea USB controller
is one in this category.

Change-Id: I3a3874899d1db04c0065c7b5f065e39f3359f3d9
Signed-off-by: default avatarSujeet Kumar <ksujeet@codeaurora.org>
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 8324598d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment