octeontx2-af: Verify NPA/SSO/NIX PF_FUNC mapping
authorSunil Goutham <sgoutham@marvell.com>
Mon, 19 Nov 2018 10:47:35 +0000 (16:17 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 01:56:08 +0000 (17:56 -0800)
commitf325d3f4cb190a944239072650d842fad6156a9c
tree2f056aae8dccc138e3cc92ac43841b65f9dfc69f
parent86cea61d3f38826e885f35084daa376ece308295
octeontx2-af: Verify NPA/SSO/NIX PF_FUNC mapping

While mapping a NIX LF to a NPA LF attached PF_FUNC or
SSO LF attached PF_FUNC, verify if PF_FUNC is valid and
if that PF_FUNC has a LF of that block attached to it or not.

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