octeontx2-af: Support to get NIX HW constants from AF
authorKiran Kumar <kirankumark@marvell.com>
Mon, 19 Nov 2018 10:47:25 +0000 (16:17 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 01:56:07 +0000 (17:56 -0800)
commit34425e8c7589b87fea3659c35d8a217110fcbd4b
tree1e691dbd8b68bb37d86ebd9def6c4a946d3ebe70
parent9b7dd87ac07119036d7c74c67160c496ddd8bfc4
octeontx2-af: Support to get NIX HW constants from AF

This patch adds reading HW limits like number of Rx/Tx stats,
number of queue IRQs supported per NIX LF from AF registers
and sync them to PF/VF.

Signed-off-by: Kiran Kumar <kirankumark@marvell.com>
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_nix.c