Re: [v3 13/43] bus/fslmc: get MC VFIO group FD directly

2024-10-14 Thread Stephen Hemminger
On Mon, 14 Oct 2024 17:30:56 +0530 vanshika.shu...@nxp.com wrote: > +static int > +fslmc_vfio_open_group_fd(int iommu_group_num) > +{ > + int vfio_group_fd; > + char filename[PATH_MAX]; > + struct rte_mp_msg mp_req, *mp_rep; > + struct rte_mp_reply mp_reply = {0}; > + struct ti

[v3 13/43] bus/fslmc: get MC VFIO group FD directly

2024-10-14 Thread vanshika . shukla
From: Jun Yang Get vfio group fd directly from file system instead of from RTE API to avoid conflicting with PCIe VFIO. FSL MC VFIO should have it's own logic which doe NOT depend on RTE VFIO. Signed-off-by: Jun Yang --- drivers/bus/fslmc/fslmc_vfio.c | 88 ++ d