mirror of
https://github.com/VIKINGYFY/immortalwrt.git
synced 2025-12-17 01:26:01 +00:00
Backport upstream patch fixing out of order DMA access for ethernet driver. This is relevant in the context of QoS when packets doesn't follow linear handling by QDMA HW. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
From fecb65813ddf52abf310bc2227a0ac869dc897d1 Mon Sep 17 00:00:00 2001
|
|
From: Christian Marangi <ansuelsmth@gmail.com>
|
|
Date: Wed, 29 Jan 2025 14:47:41 +0100
|
|
Subject: [PATCH 1/3] airoha: ethernet: drop xsi-mac reset
|
|
|
|
In preparation for support for Ethernet and PON PCS, drop the xsi-mac
|
|
reset from airoha_eth. This reset is related to the Ethernet PCS and
|
|
should be handled in the dedicated driver.
|
|
|
|
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
|
---
|
|
drivers/net/ethernet/airoha/airoha_eth.c | 9 ++++-----
|
|
drivers/net/ethernet/airoha/airoha_eth.h | 2 +-
|
|
2 files changed, 5 insertions(+), 6 deletions(-)
|
|
|
|
--- a/drivers/net/ethernet/airoha/airoha_eth.c
|
|
+++ b/drivers/net/ethernet/airoha/airoha_eth.c
|
|
@@ -3088,7 +3088,6 @@ static void airoha_remove(struct platfor
|
|
}
|
|
|
|
static const char * const en7581_xsi_rsts_names[] = {
|
|
- "xsi-mac",
|
|
"hsi0-mac",
|
|
"hsi1-mac",
|
|
"hsi-mac",
|
|
@@ -3120,7 +3119,6 @@ static int airoha_en7581_get_src_port_id
|
|
}
|
|
|
|
static const char * const an7583_xsi_rsts_names[] = {
|
|
- "xsi-mac",
|
|
"hsi0-mac",
|
|
"hsi1-mac",
|
|
"xfp-mac",
|