summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorSergei Shtylyov2015-07-25 22:42:01 +0200
committerDavid S. Miller2015-07-27 10:22:38 +0200
commit2f45d1902acfc7e6680cfeeb38922dcc7e16deb6 (patch)
tree5d65107c25abf0912aacc61ea3ecb97796a2f464 /net/ipv4/tcp_output.c
parentdsa: mv88e6352/mv88e6xxx: Move temperature sensor code to mv88e6xxx.c (diff)
downloadkernel-qcow2-linux-2f45d1902acfc7e6680cfeeb38922dcc7e16deb6.tar.gz
kernel-qcow2-linux-2f45d1902acfc7e6680cfeeb38922dcc7e16deb6.tar.xz
kernel-qcow2-linux-2f45d1902acfc7e6680cfeeb38922dcc7e16deb6.zip
ravb: minimize TX data copying
Renesas Ethernet AVB controller requires that all data are aligned on 4-byte boundary. While it's easily achievable for the RX data with the help of skb_reserve() (we even align on 128-byte boundary as recommended by the manual), we can't do the same with the TX data, and it always comes unaligned from the networking core. Originally we solved it an easy way, copying all packet to a preallocated aligned buffer; however, it's enough to copy only up to 3 first bytes from each packet, doing the transfer using 2 TX descriptors instead of just 1. Here's an implementation of the new TX algorithm that significantly reduces the driver's memory requirements. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions