From: Rafał Miłecki Date: Wed, 30 Oct 2013 07:00:00 +0000 (+0100) Subject: bgmac: pass received packet to the netif instead of copying it X-Git-Tag: v3.13-rc1~105^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92b9ccd34a9053c628d230fe27a7e0c10179910f;p=pandora-kernel.git bgmac: pass received packet to the netif instead of copying it Copying whole packets with skb_copy_from_linear_data_offset is a pretty bad idea. CPU was spending time in __copy_user_common and network performance was lower. With the new solution iperf-measured speed increased from 116Mb/s to 134Mb/s. Signed-off-by: Rafał Miłecki Signed-off-by: David S. Miller --- Reading git-diff-tree failed