octeontx2-af: Bringup CGX LMAC links by default
authorLinu Cherian <lcherian@marvell.com>
Thu, 22 Nov 2018 11:48:37 +0000 (17:18 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Nov 2018 01:23:25 +0000 (17:23 -0800)
commitd3b2b9ab1ef2ca1d883f3729ceb54503193b7958
treec34a5c218a4f8191cda44a4737ea03cafa3a4dd6
parentc929323609aefdd6da40d02860c2d59fb4a9d421
octeontx2-af: Bringup CGX LMAC links by default

- Added new CGX firmware interface API for sending link up/down
  commands

- Do link up for cgx lmac ports by default at the time of CGX
  driver probe. Since cgx link up in driver probe affects the
  Linux boot time, linkup procedure is kept threaded using
  workqueues.
  For this, a new cgx API cgx_lmac_linkup_start has been added.

Signed-off-by: Linu Cherian <lcherian@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/cgx.c
drivers/net/ethernet/marvell/octeontx2/af/cgx.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c