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

2021-09-15 Thread Xia, Chenbo
Hi, > -Original Message- > From: Li, Xiaoyun > Sent: Thursday, September 16, 2021 2:10 PM > To: Xia, Chenbo ; dev@dpdk.org > Subject: RE: [PATCH 2/8] app/testpmd: use PCI memory resource access APIs > > Hi > > > -Original Message- > > From: Xia, Chenbo > > Sent: Friday, Septemb

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

2021-09-15 Thread Li, Xiaoyun
Hi > -Original Message- > From: Xia, Chenbo > Sent: Friday, September 10, 2021 10:24 > To: dev@dpdk.org > Cc: Li, Xiaoyun > Subject: [PATCH 2/8] app/testpmd: use PCI memory resource access APIs > > Currently testpmd uses struct rte_pci_device to access PCI memory resource. > Since this

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

2021-09-09 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 | 38 +++--