common/octeontx2: add uplink message support
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Sat, 22 Jun 2019 13:24:03 +0000 (18:54 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 25 Jun 2019 21:35:57 +0000 (23:35 +0200)
commit05a58afca165f1785fd8b1a36db37d1dceeeb59f
tree7a5d723deb8c914f77807febf4fe06f8be9c4cf5
parentaf3c28fa6363bcf827f6a6b39dcb28fbede32e03
common/octeontx2: add uplink message support

The events like PHY link status change by AF or PHY configuration
change by PF would call for the uplink message.
The AF initiated uplink would land it in PF and PF would further
forward to VF(if it is intended for that specific VF)

The PF initiated uplink would be distributed to all active VFs.
This patch adds support for the same.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Harman Kalra <hkalra@marvell.com>
drivers/common/octeontx2/otx2_dev.c
drivers/common/octeontx2/otx2_dev.h