aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/tx.c
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2018-11-08 17:19:54 +0200
committerDavid S. Miller <davem@davemloft.net>2018-11-08 19:42:41 -0800
commit4acb20b46214bc866945340b4d9e1de77700d6a3 (patch)
treeb6b14f77795b8a1ac1557011c47249c092881a99 /drivers/net/ethernet/sfc/tx.c
parentnet: qca_spi: Add available buffer space verification (diff)
downloadlinux-dev-4acb20b46214bc866945340b4d9e1de77700d6a3.tar.xz
linux-dev-4acb20b46214bc866945340b4d9e1de77700d6a3.zip
net: socionext: different approach on DMA
Current driver dynamically allocates an skb and maps it as DMA Rx buffer. In order to prepare for upcoming XDP changes, let's introduce a different allocation scheme. Buffers are allocated dynamically and mapped into hardware. During the Rx operation the driver uses build_skb() to produce the necessary buffers for the network stack. This change increases performance ~15% on 64b packets with smmu disabled and ~5% with smmu enabled Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/tx.c')
0 files changed, 0 insertions, 0 deletions