[PATCH net,v2 0/3] Rework mt762x GDM setup flow

MarkLee
2019-11-11T06:52:21Z

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(-)