octeon_ep: Add mailbox for control commands
authorVeerasenareddy Burru <vburru@marvell.com>
Wed, 13 Apr 2022 03:34:59 +0000 (20:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2022 11:56:32 +0000 (12:56 +0100)
commit4ca2fbdd0bb630948d52b9b727dde58783d21e22
tree8866c04dd0608277bf4c36b10c65d4f556b9ab58
parent1f2c2d0cee023ca93299c322e3393af8be234ef8
octeon_ep: Add mailbox for control commands

Add mailbox between host and NIC to send control commands from host to
NIC and receive responses and notifications from NIC to host driver,
like link status update.

Signed-off-by: Veerasenareddy Burru <vburru@marvell.com>
Signed-off-by: Abhijit Ayarekar <aayarekar@marvell.com>
Signed-off-by: Satananda Burla <sburla@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_mbox.c
drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_mbox.h
drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.c