octeontx2-af: Don't treat lack of CGX interfaces as error
authorSunil Goutham <sgoutham@marvell.com>
Fri, 25 Aug 2023 10:40:20 +0000 (16:10 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2023 09:05:55 +0000 (10:05 +0100)
commitf027fd51edebb326c1edb5d283ceaa7b8f7508df
treeab217bec81f0931be688f1d3755bd723453f2ecb
parent5266733c798652925aaf556aacc3f3389abc9d32
octeontx2-af: Don't treat lack of CGX interfaces as error

Don't treat lack of CGX LMACs on the system as a error.
Instead ignore it so that LBK VFs are created and can be used.

Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c