diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2018-11-08 17:19:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-08 19:42:41 -0800 |
commit | 4acb20b46214bc866945340b4d9e1de77700d6a3 (patch) | |
tree | b6b14f77795b8a1ac1557011c47249c092881a99 /lib/percpu-refcount.c | |
parent | net: qca_spi: Add available buffer space verification (diff) | |
download | linux-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 'lib/percpu-refcount.c')
0 files changed, 0 insertions, 0 deletions