[PATCH v6 2/2] bus/pci: fix secondary process save 'FD' problem
Chenbo Xia
chenbox at nvidia.com
Mon Jul 15 04:24:20 CEST 2024
Hi David,
> On Jul 13, 2024, at 01:30, David Marchand <david.marchand at redhat.com> wrote:
>
> External email: Use caution opening links or attachments
>
>
> Hello,
>
> On Tue, Jul 2, 2024 at 9:40 AM Chaoyong He <chaoyong.he at corigine.com> wrote:
>>
>> From: Zerun Fu <zerun.fu at corigine.com>
>>
>> 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: mukawa at igel.co.jp
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Zerun Fu <zerun.fu at corigine.com>
>> Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
>> Reviewed-by: Long Wu <long.wu at corigine.com>
>> Reviewed-by: Peng Zhang <peng.zhang at corigine.com>
>> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
>
> Chenbo,
> Are you ok with this fix?
Sorry that I was interrupted when I was reviewing this and later I forgot..
For this patch:
Reviewed-by: Chenbo Xia <chenbox at nvidia.com>
>
> Thanks.
>
> --
> David Marchand
More information about the dev
mailing list