Commit bee94f1f authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by sanglipeng
Browse files

octeontx2-af: SDP: fix receive link config

stable inclusion
from stable-v5.10.193
commit 005b6572d039d8ce065be80ef7458bedb1df6bb5
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I9399M

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=005b6572d039d8ce065be80ef7458bedb1df6bb5



--------------------------------

[ Upstream commit 05f3d5bc ]

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: 9b7dd87a ("octeontx2-af: Support to modify min/max allowed packet lengths")
Signed-off-by: default avatarHariprasad Kelam <hkelam@marvell.com>
Signed-off-by: default avatarSunil Goutham <sgoutham@marvell.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/20230817063006.10366-1-hkelam@marvell.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent dac2ca9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment