kernel_samsung_a53x/drivers/net/ethernet/marvell
Hariprasad Kelam 9d55e79a22 Octeontx2-af: fix pause frame configuration in GMP mode
[ Upstream commit 40d4b4807cadd83fb3f46cc8cd67a945b5b25461 ]

The Octeontx2 MAC block (CGX) has separate data paths (SMU and GMP) for
different speeds, allowing for efficient data transfer.

The previous patch which added pause frame configuration has a bug due
to which pause frame feature is not working in GMP mode.

This patch fixes the issue by configurating appropriate registers.

Fixes: f7e086e754fe ("octeontx2-af: Pause frame configuration at cgx")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240326052720.4441-1-hkelam@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 09:22:44 +01:00
..
mvpp2 net: mvpp2: clear BM pool before initialization 2024-11-18 12:13:01 +01:00
octeontx2 Octeontx2-af: fix pause frame configuration in GMP mode 2024-11-19 09:22:44 +01:00
prestera Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mv643xx_eth.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
mvmdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mvneta.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
mvneta_bm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mvneta_bm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pxa168_eth.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
skge.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
skge.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sky2.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
sky2.h sky2: Make sure there is at least one frag_addr available 2024-11-08 11:26:17 +01:00