Re: [PATCH] doc: announce some raw/ifpga API removal

2022-07-16 Thread Thomas Monjalon
30/06/2022 11:41, David Marchand: > rte_pmd_ifpga_get_pci_bus() documentation is vague and it is unclear > what could be done with it. > On the other hand, EAL provides a standard API to retrieve a bus object > by name. > > Announce removal of this driver specific API for v22.11. > > Signed-off-b

Re: [PATCH] doc: announce some raw/ifpga API removal

2022-07-12 Thread Maxime Coquelin
On 6/30/22 11:41, David Marchand wrote: rte_pmd_ifpga_get_pci_bus() documentation is vague and it is unclear what could be done with it. On the other hand, EAL provides a standard API to retrieve a bus object by name. Announce removal of this driver specific API for v22.11. Signed-off-by: Da

Re: [PATCH] doc: announce some raw/ifpga API removal

2022-07-12 Thread Thomas Monjalon
30/06/2022 11:41, David Marchand: > rte_pmd_ifpga_get_pci_bus() documentation is vague and it is unclear > what could be done with it. > On the other hand, EAL provides a standard API to retrieve a bus object > by name. > > Announce removal of this driver specific API for v22.11. > > Signed-off-b

RE: [PATCH] doc: announce some raw/ifpga API removal

2022-07-07 Thread Huang, Wei
> -Original Message- > From: David Marchand > Sent: Thursday, July 7, 2022 17:30 > To: Huang, Wei ; Zhang, Tianfei > ; Xu, Rosen > Cc: dev@dpdk.org; Ray Kinsella > Subject: Re: [PATCH] doc: announce some raw/ifpga API removal > > On Fri, Jul 1, 2022

Re: [PATCH] doc: announce some raw/ifpga API removal

2022-07-07 Thread David Marchand
On Fri, Jul 1, 2022 at 10:35 AM David Marchand wrote: > > > > > > Can't this application use rte_dev_remove and rte_dev_probe? > > > > > > If not, we should add the missing parts in the API. > > > > > > > > > > > Both rte_dev_remove and rte_dev_probe need rte_device pointer. In > > > > > this appl

Re: [PATCH] doc: announce some raw/ifpga API removal

2022-07-01 Thread David Marchand
On Fri, Jul 1, 2022 at 10:32 AM Huang, Wei wrote: > > > > > > 2. Get pci_dev by specified PCI address, and remove it > > > > > > TAILQ_FOREACH(pci_dev, &pci_bus->device_list, next) { > > > > > > if (!rte_pci_addr_cmp(&pci_dev->addr, &addr)) > > > > > > return pci_dev; >

RE: [PATCH] doc: announce some raw/ifpga API removal

2022-07-01 Thread Huang, Wei
> -Original Message- > From: David Marchand > Sent: Friday, July 1, 2022 16:15 > To: Huang, Wei > Cc: Xu, Rosen ; Zhang, Tianfei ; > dev@dpdk.org; Ray Kinsella > Subject: Re: [PATCH] doc: announce some raw/ifpga API removal > > On Fri, Jul 1, 2022 at 10:09

Re: [PATCH] doc: announce some raw/ifpga API removal

2022-07-01 Thread David Marchand
On Fri, Jul 1, 2022 at 10:09 AM David Marchand wrote: > > > > 2. Get pci_dev by specified PCI address, and remove it > > > > TAILQ_FOREACH(pci_dev, &pci_bus->device_list, next) { > > > > if (!rte_pci_addr_cmp(&pci_dev->addr, &addr)) > > > > return pci_dev; > > > > }

Re: [PATCH] doc: announce some raw/ifpga API removal

2022-07-01 Thread David Marchand
On Fri, Jul 1, 2022 at 10:02 AM Huang, Wei wrote: > > > > > -Original Message- > > From: David Marchand > > Sent: Friday, July 1, 2022 15:22 > > To: Huang, Wei > > Cc: Xu, Rosen ; Zhang, Tianfei > > ; > > dev@dpdk.org; Ray Kinsella &g

RE: [PATCH] doc: announce some raw/ifpga API removal

2022-07-01 Thread Huang, Wei
> -Original Message- > From: David Marchand > Sent: Friday, July 1, 2022 15:22 > To: Huang, Wei > Cc: Xu, Rosen ; Zhang, Tianfei ; > dev@dpdk.org; Ray Kinsella > Subject: Re: [PATCH] doc: announce some raw/ifpga API removal > > On Fri, Jul 1, 2022 a

Re: [PATCH] doc: announce some raw/ifpga API removal

2022-07-01 Thread David Marchand
On Fri, Jul 1, 2022 at 9:16 AM Huang, Wei wrote: > > What is the PCI bus used for, in this application? > > > In this application, target PCI device is Intel FPGA, it supports some > special operation like removing it from PCI bus and rescanning it back from > PCI bus, > So there are two things

RE: [PATCH] doc: announce some raw/ifpga API removal

2022-07-01 Thread Huang, Wei
> -Original Message- > From: David Marchand > Sent: Friday, July 1, 2022 15:01 > To: Huang, Wei ; Xu, Rosen ; > Zhang, Tianfei > Cc: dev@dpdk.org; Ray Kinsella > Subject: Re: [PATCH] doc: announce some raw/ifpga API removal > > On Fri, Jul 1, 2022 a

Re: [PATCH] doc: announce some raw/ifpga API removal

2022-07-01 Thread David Marchand
On Fri, Jul 1, 2022 at 8:25 AM Huang, Wei wrote: > > > > > > rte_pmd_ifpga_get_pci_bus() documentation is vague and it is unclear > > > what could be done with it. > > > On the other hand, EAL provides a standard API to retrieve a bus > > > object by name. > > > > Agree, this API is used in an ext

RE: [PATCH] doc: announce some raw/ifpga API removal

2022-06-30 Thread Huang, Wei
Hi David, > -Original Message- > From: Xu, Rosen > Sent: Friday, July 1, 2022 14:16 > To: David Marchand ; dev@dpdk.org; Zhang, > Tianfei ; Huang, Wei > Cc: Ray Kinsella > Subject: RE: [PATCH] doc: announce some raw/ifpga API removal > > Hi David,

RE: [PATCH] doc: announce some raw/ifpga API removal

2022-06-30 Thread Xu, Rosen
Hi David, Got, thank you so much. > -Original Message- > From: David Marchand > Sent: Thursday, June 30, 2022 17:41 > To: dev@dpdk.org; Xu, Rosen ; Zhang, Tianfei > > Cc: Ray Kinsella > Subject: [PATCH] doc: announce some raw/ifpga API removal > >

[PATCH] doc: announce some raw/ifpga API removal

2022-06-30 Thread David Marchand
rte_pmd_ifpga_get_pci_bus() documentation is vague and it is unclear what could be done with it. On the other hand, EAL provides a standard API to retrieve a bus object by name. Announce removal of this driver specific API for v22.11. Signed-off-by: David Marchand --- A RFC series of the intende