]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net/macb: change RX path for GEM
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 4 Jun 2013 21:57:12 +0000 (21:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jun 2013 23:22:45 +0000 (16:22 -0700)
commit4df95131ea803bcb94f472d465c73ed57015c470
tree619988df3ed92f35ec7544642616746234064dbe
parent1b44791ab4ed27e6fa69f5dfa81b0fd48b1d050d
net/macb: change RX path for GEM

GEM is able to adapt its DMA buffer size, so change
the RX path to take advantage of this possibility and
remove all kind of memcpy in this path.
This modification introduces function pointers for managing
differences between MACB and GEM adapter type.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h