Hello, On Tue, Jul 2, 2024 at 9:40 AM Chaoyong He <[email protected]> wrote: > > From: Zerun Fu <[email protected]> > > In the previous logic the 'fd' was only saved in the primary process, > but for some devices this value is also used in the secondary logic. > > For example, the call of 'rte_pci_find_ext_capability()' will fail in > the secondary process. > > Fix this problem by getting and saving the value of 'fd' also in the > secondary process logic. > > Fixes: 9b957f378abf ("pci: merge uio functions for linux and bsd") > Cc: [email protected] > Cc: [email protected] > > Signed-off-by: Zerun Fu <[email protected]> > Reviewed-by: Chaoyong He <[email protected]> > Reviewed-by: Long Wu <[email protected]> > Reviewed-by: Peng Zhang <[email protected]> > Acked-by: Anatoly Burakov <[email protected]>
Chenbo, Are you ok with this fix? Thanks. -- David Marchand

