RE: [RFC PATCH v4 2/3] bus/pci: introduce the PCIe TLP Processing Hints API

2025-05-19 Thread Wathsala Wathawana Vithanage
> Hints API > > On Sat, May 17, 2025 at 5:18 PM Wathsala Vithanage > wrote: > > diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c > > index c20d159218..463c06ad64 100644 > > --- a/drivers/bus/pci/linux/pci.c > > +++ b/drivers/bus/pci/linux/pci.c > > @@ -814,3 +814,97 @@ rte_p

Re: [RFC PATCH v4 2/3] bus/pci: introduce the PCIe TLP Processing Hints API

2025-05-18 Thread David Marchand
On Sat, May 17, 2025 at 5:18 PM Wathsala Vithanage wrote: > diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c > index c20d159218..463c06ad64 100644 > --- a/drivers/bus/pci/linux/pci.c > +++ b/drivers/bus/pci/linux/pci.c > @@ -814,3 +814,97 @@ rte_pci_ioport_unmap(struct rte_pc

[RFC PATCH v4 2/3] bus/pci: introduce the PCIe TLP Processing Hints API

2025-05-17 Thread Wathsala Vithanage
Extend the PCI bus driver to enable or disable TPH capability and set or get PCI Steering-Tags (STs) on an endpoint device. The functions rte_pci_tph_{enable, disable,st_set,st_get} provide the primary interface for DPDK device drivers. Implementation of the interface is OS dependent. For Linux, th