OSDN Git Service

octeontx2-af: Reset all RVU blocks
authorSunil Goutham <sgoutham@marvell.com>
Wed, 10 Oct 2018 12:44:22 +0000 (18:14 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Oct 2018 17:06:01 +0000 (10:06 -0700)
commit54d557815e15ab8c28b559e493604478605f9e6b
treed34f7ac590d2fb6527132649c2b40393e0ad5ad0
parent54494aa5d1e68945dc79feb7c8461cd382e11d8a
octeontx2-af: Reset all RVU blocks

Go through all BLKADDRs and check which ones are implemented
on this silicon and do a HW reset of each implemented block.
Also added all RVU AF and PF register offsets.

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.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_reg.h [new file with mode: 0644]
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h [new file with mode: 0644]