]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'fec-align'
authorDavid S. Miller <davem@davemloft.net>
Tue, 27 Sep 2016 11:39:38 +0000 (07:39 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Sep 2016 11:40:19 +0000 (07:40 -0400)
commit1b23a19e4d5402e724afdeb2750a831f10fe4da0
treedaf1ca189ea3eb820b243e1752a6be19bdbdfbfb
parentbe11cec3e8f925c0bac7407ba8b5a0176ef6fddc
parent4d61d2b9cab77bbfb0c7a901283af35cd2d19756
Merge branch 'fec-align'

Eric Nelson says:

====================
net: fec: updates to align IP header

This patch series is the outcome of investigation into very high
numbers of alignment faults on kernel 4.1.33 from the linux-fslc
tree:
    https://github.com/freescale/linux-fslc/tree/4.1-1.0.x-imx

The first two patches remove support for the receive accelerator (RACC) from
the i.MX25 and i.MX27 SoCs which don't support the function.

The third patch enables hardware alignment of the ethernet packet payload
(and especially the IP header) to prevent alignment faults in the IP stack.

Testing on i.MX6UL on the 4.1.33 kernel showed that this patch removed
on the order of 70k alignment faults during a 100MiB transfer using
wget.

Testing on an i.MX6Q (SABRE Lite) board on net-next (4.8.0-rc7) showed
a much more modest improvement from 10's of faults, and it's not clear
why that's the case.
====================

Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>