Re: [dpdk-dev] [PATCH v2 2/7] app/testpmd: use PCI memory resource access APIs

2021-09-17 Thread Li, Xiaoyun
> -Original Message- > From: Xia, Chenbo > Sent: Saturday, September 18, 2021 10:25 > To: dev@dpdk.org; david.march...@redhat.com > Cc: Li, Xiaoyun > Subject: [PATCH v2 2/7] app/testpmd: use PCI memory resource access APIs > > Currently testpmd uses struct rte_pci_device to access PCI me

[dpdk-dev] [PATCH v2 2/7] app/testpmd: use PCI memory resource access APIs

2021-09-17 Thread Chenbo Xia
Currently testpmd uses struct rte_pci_device to access PCI memory resource. Since this structure will be internal later, this patch replaces use of rte_pci_device with new PCI memory resource access APIs to read/write BAR 0. Signed-off-by: Chenbo Xia --- app/test-pmd/config.c | 50 +