]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Configure block LF's MSIX vector offset
authorSunil Goutham <sgoutham@marvell.com>
Wed, 10 Oct 2018 12:44:29 +0000 (18:14 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Oct 2018 17:06:02 +0000 (10:06 -0700)
commit56555f1af884d3f12bb58fd16e2aa5553a4e01e2
tree06770af7c9bd85f2cf3cabb9b8f5b4a5dfec2417
parent8aef926e5ee7a47eabf6365e600f37d380a7b179
octeontx2-af: Configure block LF's MSIX vector offset

Firmware configures a certain number of MSIX vectors to each of
enabled RVU PF/VF. When a block LF is attached to a PF/VF, number
of MSIX vectors needed by that LF are set aside (out of PF/VF's
total MSIX vectors) and LF's msix_offset is configured in HW.

Also added support for a RVU PF/VF to retrieve that block LF's
MSIX vector offset information from AF via mbox.

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_struct.h