Skip to content

fix and improve uio_pci_generic support

Bruce Richardson dpdk-dev 4 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyApplied
  2. v32 patches 2 repliesSuperseded
  3. v22 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch3 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3eal: mmap uio resources using resourceX fileslib/librte_eal/common/include/rte_pci.h lib/librte_eal/linuxapp/eal/eal_pci_init.h lib/librte_eal/linuxapp/eal/eal_pci_uio.c +1 more+21 -170 replies
2/3eal: populate uio_maps from pci mem_resources arraylib/librte_eal/linuxapp/eal/eal_pci_uio.c+54 -1010 replies
3/3eal: remove unnecessary check for primary instancelib/librte_eal/linuxapp/eal/eal_pci_uio.c+3 -50 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDavid Marchand
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] fix and improve uio_pci_generic support

V4 changes: Split second patch into two for more readable history

V3 changes: Rebase to take account of commit 90a1633b
"eal/linux: allow to map BARs with MSI-X tables"

This patch does some cleanup of the uio mapping code to
a) fix issue with mmap of PCI bars reported by Tetsuya and confirmed by others.
b) eliminate redundant code and reduce scans of /sys

Bruce Richardson (3):
eal: mmap uio resources using resourceX files
eal: populate uio_maps from pci mem_resources array
eal: remove unnecessary check for primary instance

 lib/librte_eal/common/include/rte_pci.h    |   2 +-
 lib/librte_eal/linuxapp/eal/eal_pci_init.h |   1 +
 lib/librte_eal/linuxapp/eal/eal_pci_uio.c  | 173 +++++++++++------------------
 lib/librte_eal/linuxapp/eal/eal_pci_vfio.c |   1 +
 4 files changed, 66 insertions(+), 111 deletions(-)
Signature · 1 line
2.1.0