]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 30 Oct 2023 11:00:23 +0000 (12:00 +0100)
commita425a0164117c7032f37592e51373312280a3f97
tree84533106d51e9dc73e3bcda8af6b7d5179b46693
parent6c7ff5b7ede07232ee7745034fe6e203c22f5114
octeontx2-af: SDP: fix receive link config

BugLink: https://bugs.launchpad.net/bugs/2039742
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c