2019-11-13 02:42:30

by MarkLee

[permalink] [raw]
Subject: [PATCH net,v3 0/3] Rework mt762x GDM setup flow

The mt762x GDM block is mainly used to setup the HW internal
rx path from GMAC to RX DMA engine(PDMA) and the packet
switching engine(PSE) is responsed to do the data forward
following the GDM configuration.

This patch set have three goals :

1. Integrate GDM/PSE setup operations into single function "mtk_gdm_config"

2. Refine the timing of GDM/PSE setup, move it from mtk_hw_init
to mtk_open

3. Enable GDM GDMA_DROP_ALL mode to drop all packet during the
stop operation

MarkLee (3):
net: ethernet: mediatek: Integrate GDM/PSE setup operations
net: ethernet: mediatek: Refine the timing of GDM/PSE setup
net: ethernet: mediatek: Enable GDM GDMA_DROP_ALL mode

drivers/net/ethernet/mediatek/mtk_eth_soc.c | 44 ++++++++++++++-------
drivers/net/ethernet/mediatek/mtk_eth_soc.h | 2 +
2 files changed, 31 insertions(+), 15 deletions(-)

--
2.17.1


2019-11-14 23:15:10

by David Miller

[permalink] [raw]
Subject: Re: [PATCH net,v3 0/3] Rework mt762x GDM setup flow

From: MarkLee <[email protected]>
Date: Wed, 13 Nov 2019 10:38:41 +0800

> The mt762x GDM block is mainly used to setup the HW internal
> rx path from GMAC to RX DMA engine(PDMA) and the packet
> switching engine(PSE) is responsed to do the data forward
> following the GDM configuration.
>
> This patch set have three goals :
>
> 1. Integrate GDM/PSE setup operations into single function "mtk_gdm_config"
>
> 2. Refine the timing of GDM/PSE setup, move it from mtk_hw_init
> to mtk_open
>
> 3. Enable GDM GDMA_DROP_ALL mode to drop all packet during the
> stop operation

Series applied, thanks.