octeontx2-af: Set discovery ID for RVUM block
authorSunil Goutham <sgoutham@marvell.com>
Mon, 2 Mar 2020 07:19:26 +0000 (12:49 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2020 19:08:51 +0000 (11:08 -0800)
commit8315f9b2dcb8c6eae9d3837ffcd09aa63ab34280
tree205c5a9429800b152fe33f0d960ec5a65b33223c
parent4f4eebf26f0da871fea5b3c489eafce2fbcda8bb
octeontx2-af: Set discovery ID for RVUM block

Currently there is no way for AF dependent drivers in
any domain to check if the AF driver is loaded. This
patch sets an ID for RVUM block which will automatically
reflects in PF/VFs discovery register which they can
check and defer their probe until AF is up.

Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h