raw/cnxk_bphy: add wrappers for available message types
authorTomasz Duszynski <tduszynski@marvell.com>
Fri, 1 Oct 2021 20:19:40 +0000 (22:19 +0200)
committerJerin Jacob <jerinj@marvell.com>
Thu, 7 Oct 2021 11:02:38 +0000 (13:02 +0200)
commitbb85a78d2f4c0a3af496cb656fb8fff8e0b01772
treef78eebf2530566a5ccc834b4e4c8ed3a9b4e9625
parent435d523112ccef6cb58edba3062ea05a2f6544fc
raw/cnxk_bphy: add wrappers for available message types

One sends commands and receive responses by enqueuing or dequeuing
custom messages. In order to simplify this scheme simple wrappers
were added which take care of all the heavy lifting.

Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Reviewed-by: Jakub Palider <jpalider@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
drivers/raw/cnxk_bphy/cnxk_bphy.c
drivers/raw/cnxk_bphy/cnxk_bphy_cgx_test.c
drivers/raw/cnxk_bphy/rte_pmd_bphy.h