summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/gianfar.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-03-12 19:47:47 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-10-17 14:35:54 +0100
commit70d8a8a74a1627de5cd472b8bb0ce5755e5a6eee (patch)
treeebe8bbbb115d5c45083325d1cd9ef8859b2007b9 /drivers/net/ethernet/freescale/gianfar.c
parentba62cb8da3093e15fd0db8a5a0bcd612e6dff1e3 (diff)
net:fec: implement almost zero-copy receive path
iMX6 SoCs have an IP accelerator which can pad and strip two bytes in the FIFO at the beginning of each packet. Since the FEC has alignment restrictions on the buffer addresses, this feature is particularly interesting for receive as it allows us to receive an appropriately aligned packet for IP. This allows us to reduce the CPU overhead by avoiding copying large packets - and in the spirit of all network drivers which use this trick, we provide a copybreak tunable which allows the packet size to be copied to be adjusted. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/net/ethernet/freescale/gianfar.c')
0 files changed, 0 insertions, 0 deletions