mbox series

[net-next,v2,00/15] mtk_eth_soc: fixes and performance improvements

Message ID 20210423052108.423853-1-ilya.lipnitskiy@gmail.com (mailing list archive)
Headers show
Series mtk_eth_soc: fixes and performance improvements | expand

Message

Ilya Lipnitskiy April 23, 2021, 5:20 a.m. UTC
Most of these changes come from OpenWrt where they have been present and
tested for months.

First three patches are bug fixes. The rest are performance
improvements. The last patch is a cleanup to use the iopoll.h macro for
busy-waiting instead of a custom loop.

v2:
 - Reverse christmas tree in "use iopoll.h macro for DMA init"
 - Use cond_resched() instead of iopoll.h macro in "reduce MDIO bus
   access latency"
 - Use napi_complete_done and rework NAPI callbacks in a new patch

Felix Fietkau (12):
  net: ethernet: mtk_eth_soc: fix RX VLAN offload
  net: ethernet: mtk_eth_soc: unmap RX data before calling build_skb
  net: ethernet: mtk_eth_soc: use napi_consume_skb
  net: ethernet: mtk_eth_soc: reduce MDIO bus access latency
  net: ethernet: mtk_eth_soc: remove unnecessary TX queue stops
  net: ethernet: mtk_eth_soc: use larger burst size for QDMA TX
  net: ethernet: mtk_eth_soc: increase DMA ring sizes
  net: ethernet: mtk_eth_soc: implement dynamic interrupt moderation
  net: ethernet: mtk_eth_soc: cache HW pointer of last freed TX
    descriptor
  net: ethernet: mtk_eth_soc: only read the full RX descriptor if DMA is
    done
  net: ethernet: mtk_eth_soc: reduce unnecessary interrupts
  net: ethernet: mtk_eth_soc: set PPE flow hash as skb hash if present

Ilya Lipnitskiy (3):
  net: ethernet: mtk_eth_soc: fix build_skb cleanup
  net: ethernet: mtk_eth_soc: rework NAPI callbacks
  net: ethernet: mtk_eth_soc: use iopoll.h macro for DMA init

 drivers/net/ethernet/mediatek/Kconfig       |   1 +
 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 262 +++++++++++++-------
 drivers/net/ethernet/mediatek/mtk_eth_soc.h |  50 +++-
 3 files changed, 213 insertions(+), 100 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org April 23, 2021, 9 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Thu, 22 Apr 2021 22:20:53 -0700 you wrote:
> Most of these changes come from OpenWrt where they have been present and
> tested for months.
> 
> First three patches are bug fixes. The rest are performance
> improvements. The last patch is a cleanup to use the iopoll.h macro for
> busy-waiting instead of a custom loop.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,01/15] net: ethernet: mtk_eth_soc: fix RX VLAN offload
    https://git.kernel.org/netdev/net-next/c/3f57d8c40fea
  - [net-next,v2,02/15] net: ethernet: mtk_eth_soc: unmap RX data before calling build_skb
    https://git.kernel.org/netdev/net-next/c/5196c4178549
  - [net-next,v2,03/15] net: ethernet: mtk_eth_soc: fix build_skb cleanup
    https://git.kernel.org/netdev/net-next/c/787082ab9f7b
  - [net-next,v2,04/15] net: ethernet: mtk_eth_soc: use napi_consume_skb
    https://git.kernel.org/netdev/net-next/c/c30c4a827390
  - [net-next,v2,05/15] net: ethernet: mtk_eth_soc: reduce MDIO bus access latency
    https://git.kernel.org/netdev/net-next/c/3630d519d7c3
  - [net-next,v2,06/15] net: ethernet: mtk_eth_soc: remove unnecessary TX queue stops
    https://git.kernel.org/netdev/net-next/c/16ef670789b2
  - [net-next,v2,07/15] net: ethernet: mtk_eth_soc: use larger burst size for QDMA TX
    https://git.kernel.org/netdev/net-next/c/59555a8d0dd3
  - [net-next,v2,08/15] net: ethernet: mtk_eth_soc: increase DMA ring sizes
    https://git.kernel.org/netdev/net-next/c/6b4423b258b9
  - [net-next,v2,09/15] net: ethernet: mtk_eth_soc: implement dynamic interrupt moderation
    https://git.kernel.org/netdev/net-next/c/e9229ffd550b
  - [net-next,v2,10/15] net: ethernet: mtk_eth_soc: cache HW pointer of last freed TX descriptor
    https://git.kernel.org/netdev/net-next/c/4e6bf609569c
  - [net-next,v2,11/15] net: ethernet: mtk_eth_soc: only read the full RX descriptor if DMA is done
    https://git.kernel.org/netdev/net-next/c/816ac3e6e67b
  - [net-next,v2,12/15] net: ethernet: mtk_eth_soc: reduce unnecessary interrupts
    https://git.kernel.org/netdev/net-next/c/16769a8923fa
  - [net-next,v2,13/15] net: ethernet: mtk_eth_soc: rework NAPI callbacks
    https://git.kernel.org/netdev/net-next/c/db2c7b353db3
  - [net-next,v2,14/15] net: ethernet: mtk_eth_soc: set PPE flow hash as skb hash if present
    https://git.kernel.org/netdev/net-next/c/fa817272c37e
  - [net-next,v2,15/15] net: ethernet: mtk_eth_soc: use iopoll.h macro for DMA init
    https://git.kernel.org/netdev/net-next/c/3bc8e0aff23b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html