]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Octeontx2-af: Broadcast XON on all channels
authorHariprasad Kelam <hkelam@marvell.com>
Wed, 20 Aug 2025 06:46:25 +0000 (12:16 +0530)
committerJakub Kicinski <kuba@kernel.org>
Fri, 22 Aug 2025 01:22:11 +0000 (18:22 -0700)
commita7bd72158063740212344fad5d99dcef45bc70d6
treea9e0989aacd6d5d1c6e7b09d78d6903b159e8faa
parent62d7f40503bc6ac645784e35d4b1a48381237fe3
Octeontx2-af: Broadcast XON on all channels

The NIX block receives traffic from multiple channels, including:

MAC block (RPM)
Loopback module (LBK)
CPT block

                     RPM
                      |
                -----------------
       LBK   --|     NIX         |
                -----------------
                     |
                    CPT

Due to a hardware errata,  CN10k and earlier Octeon silicon series,
the hardware may incorrectly assert XOFF on certain channels during
reset. As a workaround, a write operation to the NIX_AF_RX_CHANX_CFG
register can be performed to broadcast XON signals on the affected
channels

Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Link: https://patch.msgid.link/20250820064625.1464361-1-hkelam@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c