diff options
author | Linu Cherian <lcherian@marvell.com> | 2018-11-22 14:48:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-24 04:23:25 +0300 |
commit | d3b2b9ab1ef2ca1d883f3729ceb54503193b7958 (patch) | |
tree | c34a5c218a4f8191cda44a4737ea03cafa3a4dd6 /drivers/net/ethernet/marvell/octeontx2/af/cgx.h | |
parent | c929323609aefdd6da40d02860c2d59fb4a9d421 (diff) | |
download | linux-d3b2b9ab1ef2ca1d883f3729ceb54503193b7958.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/cgx.h')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/af/cgx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/cgx.h b/drivers/net/ethernet/marvell/octeontx2/af/cgx.h index a2bff00b17cf..8c2be8493321 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/cgx.h +++ b/drivers/net/ethernet/marvell/octeontx2/af/cgx.h @@ -110,4 +110,5 @@ void cgx_lmac_promisc_config(int cgx_id, int lmac_id, bool enable); int cgx_lmac_internal_loopback(void *cgxd, int lmac_id, bool enable); int cgx_get_link_info(void *cgxd, int lmac_id, struct cgx_link_user_info *linfo); +int cgx_lmac_linkup_start(void *cgxd); #endif /* CGX_H */ |