]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
octeontx2-pf: Dont allocate BPIDs for LBK interfaces
authorGeetha sowjanya <gakula@marvell.com>
Sun, 16 Jul 2023 09:37:41 +0000 (15:07 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2023 06:47:01 +0000 (08:47 +0200)
commit4e87eb224896fe7055be9054ecfb254e174cf782
tree5c3d41e41efa163bafae7ca40a36bac407156ace
parent87fc9616d606f929df1c79445c4167c31a2f0a7b
octeontx2-pf: Dont allocate BPIDs for LBK interfaces

[ Upstream commit 8fcd7c7b3a38ab5e452f542fda8f7940e77e479a ]

Current driver enables backpressure for LBK interfaces.
But these interfaces do not support this feature.
Hence, this patch fixes the issue by skipping the
backpressure configuration for these interfaces.

Fixes: 75f36270990c ("octeontx2-pf: Support to enable/disable pause frames via ethtool").
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Link: https://lore.kernel.org/r/20230716093741.28063-1-gakula@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c