[dpdk-dev] [PATCH v2 2/7] app/testpmd: use PCI memory resource access APIs
Li, Xiaoyun
xiaoyun.li at intel.com
Sat Sep 18 04:44:38 CEST 2021
> -----Original Message-----
> From: Xia, Chenbo <chenbo.xia at intel.com>
> Sent: Saturday, September 18, 2021 10:25
> To: dev at dpdk.org; david.marchand at redhat.com
> Cc: Li, Xiaoyun <xiaoyun.li at intel.com>
> Subject: [PATCH v2 2/7] app/testpmd: use PCI memory resource access APIs
>
> 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 <chenbo.xia at intel.com>
> ---
> app/test-pmd/config.c | 50 ++++++++++++++------------------------
> app/test-pmd/testpmd.h | 54 ++++++++++++++++++++++--------------------
> 2 files changed, 46 insertions(+), 58 deletions(-)
Acked-by: Xiaoyun Li <xiaoyun.li at intel.com>
More information about the dev
mailing list