Re: [dpdk-dev] [PATCH v3 1/3] bus/pci: enable PCI master in command register

2021-04-27 Thread David Marchand
On Tue, Apr 27, 2021 at 3:35 PM Wang, Haiyue wrote: > > > diff --git a/lib/pci/rte_pci.h b/lib/pci/rte_pci.h > > > index a8f8e404a..1f33d687f 100644 > > > --- a/lib/pci/rte_pci.h > > > +++ b/lib/pci/rte_pci.h > > > @@ -32,6 +32,10 @@ extern "C" { > > > > > > #define RTE_PCI_VENDOR_ID 0x00

Re: [dpdk-dev] [PATCH v3 1/3] bus/pci: enable PCI master in command register

2021-04-27 Thread Wang, Haiyue
> -Original Message- > From: David Marchand > Sent: Tuesday, April 27, 2021 17:29 > To: Wang, Haiyue ; Gaetan Rivet > Cc: dev ; Zhang, Qi Z ; Wang, Liang-min > ; > Ray Kinsella ; Neil Horman > Subject: Re: [dpdk-dev] [PATCH v3 1/3] bus/pci: enable PCI maste

Re: [dpdk-dev] [PATCH v3 1/3] bus/pci: enable PCI master in command register

2021-04-27 Thread David Marchand
On Fri, Apr 23, 2021 at 2:06 PM Haiyue Wang wrote: > diff --git a/drivers/bus/pci/rte_bus_pci.h b/drivers/bus/pci/rte_bus_pci.h > index 64886b473..83caf477b 100644 > --- a/drivers/bus/pci/rte_bus_pci.h > +++ b/drivers/bus/pci/rte_bus_pci.h > @@ -249,6 +249,18 @@ void rte_pci_dump(FILE *f); > __rt

Re: [dpdk-dev] [PATCH v3 1/3] bus/pci: enable PCI master in command register

2021-04-23 Thread Kinsella, Ray
On 23/04/2021 12:39, Haiyue Wang wrote: > This adds the support to set 'Bus Master Enable' bit in the PCI command > register. > > Signed-off-by: Haiyue Wang > Tested-by: Qi Zhang > --- > drivers/bus/pci/pci_common.c | 20 > drivers/bus/pci/rte_bus_pci.h | 12 +++

[dpdk-dev] [PATCH v3 1/3] bus/pci: enable PCI master in command register

2021-04-23 Thread Haiyue Wang
This adds the support to set 'Bus Master Enable' bit in the PCI command register. Signed-off-by: Haiyue Wang Tested-by: Qi Zhang --- drivers/bus/pci/pci_common.c | 20 drivers/bus/pci/rte_bus_pci.h | 12 drivers/bus/pci/version.map | 3 +++ lib/pci/rte_pci.