]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
octeontx2-af: SDP: fix receive link config
authorHariprasad Kelam <hkelam@marvell.com>
Thu, 17 Aug 2023 06:30:06 +0000 (12:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Aug 2023 14:23:12 +0000 (16:23 +0200)
commit005b6572d039d8ce065be80ef7458bedb1df6bb5
treeebdcd2192c1706e8a43e72aecb70be11438f4567
parentb8205dfed68183dc1470e83863c5ded6d7fa30a9
octeontx2-af: SDP: fix receive link config

[ Upstream commit 05f3d5bc23524bed6f043dfe6b44da687584f9fb ]

On SDP interfaces, frame oversize and undersize errors are
observed as driver is not considering packet sizes of all
subscribers of the link before updating the link config.

This patch fixes the same.

Fixes: 9b7dd87ac071 ("octeontx2-af: Support to modify min/max allowed packet lengths")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/20230817063006.10366-1-hkelam@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c