Re: [PATCH v1] bus/pci: get PCI address from rte_device

2023-10-18 Thread David Marchand
On Wed, May 31, 2023 at 11:52 AM David Marchand wrote: > > (I reformatted the mail a bit) > > On Wed, May 31, 2023 at 10:51 AM Elena Agostini wrote: > > > On Wed, May 31, 2023 at 10:44 AM Elena Agostini eagost...@nvidia.com > > > wrote: > > > > > On Tue, May 30, 2023 at 1:48 PM eagost...@nvidia.

Re: [PATCH v1] bus/pci: get PCI address from rte_device

2023-05-31 Thread David Marchand
(I reformatted the mail a bit) On Wed, May 31, 2023 at 10:51 AM Elena Agostini wrote: > > On Wed, May 31, 2023 at 10:44 AM Elena Agostini eagost...@nvidia.com wrote: > > > > On Tue, May 30, 2023 at 1:48 PM eagost...@nvidia.com wrote: > > > > > From: Elena Agostini eagost...@nvidia.com > > > > > I

Re: [PATCH v1] bus/pci: get PCI address from rte_device

2023-05-31 Thread Elena Agostini
> On Wed, May 31, 2023 at 10:44 AM Elena Agostini > eagost...@nvidia.com wrote: > > > > > On Tue, May 30, 2023 at 1:48 PM > > > eagost...@nvidia.com wrote: > > > > > > > > > > > > From: Elena Agostini eagost...@nvidia.com

Re: [PATCH v1] bus/pci: get PCI address from rte_device

2023-05-31 Thread David Marchand
On Wed, May 31, 2023 at 10:44 AM Elena Agostini wrote: > > > On Tue, May 30, 2023 at 1:48 PM eagost...@nvidia.com wrote: > > > > > > > > From: Elena Agostini eagost...@nvidia.com > > > > > > > > In DPDK 22.11 pci bus related structure have been hidden internally > > > > so the application doesn't

Re: [PATCH v1] bus/pci: get PCI address from rte_device

2023-05-31 Thread Elena Agostini
> On Tue, May 30, 2023 at 1:48 PM > eagost...@nvidia.com wrote: > > > > From: Elena Agostini eagost...@nvidia.com > > > > In DPDK 22.11 pci bus related structure have been hidden internally > > so the application doesn't have a direct acces

Re: [PATCH v1] bus/pci: get PCI address from rte_device

2023-05-31 Thread David Marchand
On Tue, May 30, 2023 at 1:48 PM wrote: > > From: Elena Agostini > > In DPDK 22.11 pci bus related structure have been hidden internally > so the application doesn't have a direct access to those info anymore. > > This patch introduces a get function to retrieve a PCI address > from an rte_device

Re: [PATCH v1] bus/pci: get PCI address from rte_device

2023-05-30 Thread Thomas Monjalon
30/05/2023 13:42, eagost...@nvidia.com: > This patch introduces a get function to retrieve a PCI address > from an rte_device handler. [...] > +const struct rte_pci_addr * > +rte_pci_get_addr(const struct rte_device *dev) > +{ > + const struct rte_pci_device *pci_dev; > + > + if (!dev) { P

[PATCH v1] bus/pci: get PCI address from rte_device

2023-05-30 Thread eagostini
From: Elena Agostini In DPDK 22.11 pci bus related structure have been hidden internally so the application doesn't have a direct access to those info anymore. This patch introduces a get function to retrieve a PCI address from an rte_device handler. Signed-off-by: Elena Agostini --- drivers/