[PATCH v2 0/3] Optimisation of fs_enet ethernet driver

From: Christophe Leroy
Date: Fri Sep 09 2016 - 08:30:44 EST


This set optimises the freescale fs_enet ethernet driver:
1/ Merge of RX and TX NAPI functions in order to limit the amount of
interrupts
2/ Do not unmap DMA when packets len is below copybreak, otherwise there
is no benefit in copying the skb instead of allocating a new one
3/ Make copybreak value configurable as the optimised value is not the
same on all targets

Christophe Leroy (3):
net: fs_enet: merge NAPI RX and NAPI TX
net: fs_enet: don't unmap DMA when packet len is below copybreak
net: fs_enet: make rx_copybreak value configurable

.../net/ethernet/freescale/fs_enet/fs_enet-main.c | 344 +++++++++++----------
drivers/net/ethernet/freescale/fs_enet/fs_enet.h | 16 +-
drivers/net/ethernet/freescale/fs_enet/mac-fcc.c | 57 +---
drivers/net/ethernet/freescale/fs_enet/mac-fec.c | 57 +---
drivers/net/ethernet/freescale/fs_enet/mac-scc.c | 57 +---
5 files changed, 220 insertions(+), 311 deletions(-)

--
2.1.0