Re: [PATCH] ethdev: allow using devices with shortened PCI addresses

2024-11-20 Thread Thomas Monjalon
19/11/2024 16:57, Bruce Richardson: > When using a secondary process, e.g. pdump, not all PCI devices will be > probed correctly if the primary process has allowlisted devices using > the shortened syntax, omitting the initial ":" domain. This is due > to the strcmp failing to match a full addr

Re: [PATCH] ethdev: allow using devices with shortened PCI addresses

2024-11-19 Thread Bruce Richardson
On Tue, Nov 19, 2024 at 05:22:21PM +0100, Thomas Monjalon wrote: > 19/11/2024 16:57, Bruce Richardson: > > When using a secondary process, e.g. pdump, not all PCI devices will be > > probed correctly if the primary process has allowlisted devices using > > the shortened syntax, omitting the initial

[PATCH] ethdev: allow using devices with shortened PCI addresses

2024-11-19 Thread Bruce Richardson
When using a secondary process, e.g. pdump, not all PCI devices will be probed correctly if the primary process has allowlisted devices using the shortened syntax, omitting the initial ":" domain. This is due to the strcmp failing to match a full address with a shortened one. Fix this issue by