octeontx2-af: cn10k: Support configurable LMTST regions
This patch extends the lmtst_tbl_setup_req mbox to support run time LMTST configuration. RVU PF/VF and DPDK/ODP allocates a LMT region, creates a translation entry for a device via VFIO IOCTLs. This IOVA is shared with AF through above mbox. AF then uses RVU_SMMU transulation Widget and gets PA for the IOVA and updates the LMTtable entry for that device. Signed-off-by:Geetha sowjanya <gakula@marvell.com> Signed-off-by:
Sunil Kovvuri Goutham <sgoutham@marvell.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/marvell/octeontx2/af/mbox.h 3 additions, 0 deletionsdrivers/net/ethernet/marvell/octeontx2/af/mbox.h
- drivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c 95 additions, 35 deletionsdrivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c
- drivers/net/ethernet/marvell/octeontx2/af/rvu_reg.h 5 additions, 0 deletionsdrivers/net/ethernet/marvell/octeontx2/af/rvu_reg.h
Loading
Please register or sign in to comment