]> git.baikalelectronics.ru Git - kernel.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)
commit573119dbca603a5b964ae23f75582510c123b016
tree619988df3ed92f35ec7544642616746234064dbe
parent3490a42f6739c7bac68ed50290dbadb57cfc9c3c
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