net: airoha: Fix EGRESS_RATE_METER_EN_MASK definition
Subsystems (4)
Lorenzo Bianconi
maintainerPATCH v2 1/1 net: airoha: Fix EGRESS_RATE_METER_EN_MASK definition
Fix typo in EGRESS_RATE_METER_EN_MASK mask definition. This bus in not introducing any user visible problem since, even if we are setting EGRESS_RATE_METER_EN_MASK bit in REG_EGRESS_RATE_METER_CFG register, egress QoS metering is not supported yet since we are missing some other hw configurations (e.g token bucket rate, token bucket size).
Introduced by commit 23020f049327 ("net: airoha: Introduce ethernet support for EN7581 SoC")
---
Changes in v2:
- improve commit log
- Link to v1: https://lore.kernel.org/r/[email protected]
--- drivers/net/ethernet/mediatek/airoha_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mediatek/airoha_eth.c +1 -1
@@ -554,7 +554,7 @@#define FWD_DSCP_LOW_THR_MASK GENMASK(17, 0)#define REG_EGRESS_RATE_METER_CFG 0x100c -#define EGRESS_RATE_METER_EN_MASK BIT(29) +#define EGRESS_RATE_METER_EN_MASK BIT(31)#define EGRESS_RATE_METER_EQ_RATE_EN_MASK BIT(17)#define EGRESS_RATE_METER_WINDOW_SZ_MASK GENMASK(16, 12)#define EGRESS_RATE_METER_TIMESLICE_MASK GENMASK(10, 0)
---
base-commit: 42b2331081178785d50d116c85ca40d728b48291
change-id: 20241004-airoha-fixes-8aaa8177b234
Best regards,
Signature · 1 line
Lorenzo Bianconi <[email protected]>
Quoted 6 lines · Lorenzo Bianconi
Fix typo in
EGRESS_RATE_METER_EN_MASKmask definition. This bus in not introducing any user visible problem since, even if we are settingEGRESS_RATE_METER_EN_MASKbit inREG_EGRESS_RATE_METER_CFGregister, egress QoS metering is not supported yet since we are missing some other hw configurations (e.g token bucket rate, token bucket size).
Quoted 8 lines
Introduced by commit
23020f049327("net: airoha: Introduce ethernet support for EN7581 SoC")Signed-off-by Lorenzo Bianconi <[email protected]>---
Changes in v2:
- improve commit log
- Link to v1: https://lore.kernel.org/r/[email protected]
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 10 lines · On Wed, 09 Oct 2024 00:21:47 +0200 you wrote:
Fix typo in
EGRESS_RATE_METER_EN_MASKmask definition. This bus in not introducing any user visible problem since, even if we are settingEGRESS_RATE_METER_EN_MASKbit inREG_EGRESS_RATE_METER_CFGregister, egress QoS metering is not supported yet since we are missing some other hw configurations (e.g token bucket rate, token bucket size).Introduced by commit
23020f049327("net: airoha: Introduce ethernet support for EN7581 SoC")[...]
Here is the summary with links:
- [net-next,v2] net: airoha: Fix EGRESS_RATE_METER_EN_MASK definition
https://git.kernel.org/netdev/net-next/c/2518b1196391
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html