common/cnxk: start and stop BPHY LMAC
authorTomasz Duszynski <tduszynski@marvell.com>
Mon, 21 Jun 2021 15:04:25 +0000 (17:04 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 5 Jul 2021 21:07:03 +0000 (23:07 +0200)
commit2c19694c8ecd3b9b60f7d0a8975316f111a01476
treea861240ea9ef400f8a166a5187658622847b5e7f
parent7fb5075a539e806e5f482fa6e3d699a58adbd70f
common/cnxk: start and stop BPHY LMAC

Add support for starting or stopping specific lmac.
Start enables Rx/Tx traffic while stop does the opposite.

Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Signed-off-by: Jakub Palider <jpalider@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/roc_bphy_cgx.c
drivers/common/cnxk/roc_bphy_cgx.h
drivers/common/cnxk/version.map