octeontx2-af: Cleanup nixlf and blkaddr retrieval logic
authorSunil Goutham <sgoutham@marvell.com>
Wed, 19 Feb 2020 09:51:08 +0000 (15:21 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Feb 2020 18:51:12 +0000 (10:51 -0800)
commit52ccbdace039480000dc7a4262dabe29f9ea14d5
tree434e09e9b54231b967cfd832b000fb08249bcb80
parent6fd2a71b273871897d5186e49e430a1f8a13e1ca
octeontx2-af: Cleanup nixlf and blkaddr retrieval logic

Cleanedup repititive nixlf and blkaddr retrieving logic
is various mailbox handlers throughout the rvu_nix.c file.

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