]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
octeontx2-af: Limit link bringup time at firmware
authorHariprasad Kelam <hkelam@marvell.com>
Tue, 12 Jul 2022 16:18:15 +0000 (21:48 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 14 Jul 2022 03:17:29 +0000 (20:17 -0700)
commit9b633670087ea7a683d2b47e18c2803657486ef1
treec5cdeaf93a0613b08fabcba21c0fb732366df6fa
parent5dc0f7491f9af356a3c78d56fe55890ebf37a1ac
octeontx2-af: Limit link bringup time at firmware

Set the maximum time firmware should poll for a link.
If not set firmware could block CPU for a long time resulting
in mailbox failures. If link doesn't come up within 1second,
firmware will anyway notify the status as and when LINK comes up

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>
Link: https://lore.kernel.org/r/20220712161815.12621-1-gakula@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/cgx.c
drivers/net/ethernet/marvell/octeontx2/af/cgx.h
drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h
drivers/net/ethernet/marvell/octeontx2/af/mbox.h