Re: [PATCH v6 2/2] bus/pci: fix secondary process save 'FD' problem

2024-07-14 Thread Chenbo Xia
Hi David, > On Jul 13, 2024, at 01:30, David Marchand wrote: > > External email: Use caution opening links or attachments > > > Hello, > > On Tue, Jul 2, 2024 at 9:40 AM Chaoyong He wrote: >> >> From: Zerun Fu >> >> In the previous logic the 'fd' was only saved in the primary process, >>

Re: [PATCH v6 2/2] bus/pci: fix secondary process save 'FD' problem

2024-07-12 Thread David Marchand
Hello, On Tue, Jul 2, 2024 at 9:40 AM Chaoyong He wrote: > > From: Zerun Fu > > 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 >

[PATCH v6 2/2] bus/pci: fix secondary process save 'FD' problem

2024-07-02 Thread Chaoyong He
From: Zerun Fu 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