RE: [PATCH v3] bus/cdx: provide driver flag for optional resource mapping

2023-10-13 Thread Gangurde, Abhijit
> > > > +/** > > > > + * Map the CDX device resources in user space virtual memory address. > > > > + * > > > > + * Note that driver should not call this function when flag > > > > + * RTE_CDX_DRV_NEED_MAPPING is set, as EAL will do that for > > > > + * you when it's on. > > > > > > Why should we e

RE: [PATCH v3] bus/cdx: provide driver flag for optional resource mapping

2023-10-04 Thread Gangurde, Abhijit
[AMD Official Use Only - General] > wrote: > > @@ -383,10 +384,12 @@ cdx_probe_one_driver(struct rte_cdx_driver *dr, > > CDX_BUS_DEBUG(" probe device %s using driver: %s", dev_name, > > dr->driver.name); > > > > - ret = cdx_vfio_map_resource(dev); > > - if (re