summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2013-10-30 08:00:00 +0100
committerDavid S. Miller <davem@davemloft.net>2013-10-30 16:58:19 -0400
commit92b9ccd34a9053c628d230fe27a7e0c10179910f (patch)
treeb16f6ec80c8654d29174620e12a4ef3f8770a569 /samples
parent3af390e2c5fd8a8cab6d123c18fcd3e1a65b43c6 (diff)
downloadblackbird-obmc-linux-92b9ccd34a9053c628d230fe27a7e0c10179910f.tar.gz
blackbird-obmc-linux-92b9ccd34a9053c628d230fe27a7e0c10179910f.zip
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 <zajec5@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud