aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/devlink.c
diff options
context:
space:
mode:
authorHariprasad Kelam <hkelam@marvell.com>2022-07-12 12:12:50 +0530
committerDavid S. Miller <davem@davemloft.net>2022-07-13 13:41:31 +0100
commit3e35d198cee665efcf7b9ee01f443c263be73296 (patch)
treee7b4995d7eb13a87764b982254e3258ff86c3757 /net/core/devlink.c
parentMerge branch 'prestera-port-range-filters' (diff)
downloadlinux-dev-3e35d198cee665efcf7b9ee01f443c263be73296.tar.xz
linux-dev-3e35d198cee665efcf7b9ee01f443c263be73296.zip
octeontx2-af: Skip CGX/RPM probe incase of zero lmac count
In few error cases MAC(CGX/RPM) block is having 0 lmacs. AF driver uses MAC block with lmac pair to get firmware data etc. These commands will fail as there is no LMAC associated with MAC block. This patch skips the probe of these MAC blocks such that AF driver uses correct MAC block and LMAC pair for firmware communication and define new LMAC_AF_ERROR types for command timeout etc. This patch also enables channel back pressure for all LMACs. Signed-off-by: Hariprasad Kelam <hkelam@marvell.com> Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com> Signed-off-by: Geetha sowjanya <gakula@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/devlink.c')
0 files changed, 0 insertions, 0 deletions