Skip to content

support for VFIO-PCI VF token interface

Haiyue Wang dpdk-dev 13 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v17 Latest2 patches 2 repliesIn review
  2. v162 patches 3 repliesSuperseded
  3. v152 patches 0 repliesSuperseded
Earlier versions · 10
VersionPostedPatchesRepliesStatus
v142 patches2 repliesSuperseded
v132 patches4 repliesSuperseded
v122 patches4 repliesSuperseded
v112 patches0 repliesSuperseded
v102 patches2 repliesSuperseded
v92 patches2 repliesSuperseded
v82 patches11 repliesSuperseded
v72 patches2 repliesSuperseded
v62 patches5 repliesSuperseded
v52 patches0 repliesSuperseded

RFC v2 from the cover letter

Based on Vamsi's RFC v1, and Alex's patch for Qemu
[https://lore.kernel.org/lkml/[email protected]/]:
Use the devarg to pass-down the VF token.

Patches in v17 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2eal: add uuid dependent header files explicitlylib/librte_eal/include/rte_uuid.h+2 -01 reply
2/2eal: support for VFIO-PCI VF tokendoc/guides/linux_gsg/linux_drivers.rst doc/guides/linux_gsg/linux_eal_parameters.rst doc/guides/rel_notes/release_20_08.rst +8 more+125 -11 reply

Reviews trailers per patch

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

PatchAnatoly BurakovAndrew RybchenkoHarman KalraDavid Marchand
1/2A-b
2/2A-b A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v17 thread

Cover letter [dpdk-dev] [PATCH v17 0/2] support for VFIO-PCI VF token interface

v17: Rebase for new EAL config API, update the commit message and doc.

v16: Rebase the patch for 20.08 release note.

v15: Add the missed EXPERIMENTAL warning for API doxgen.

v14: Rebase the patch for 20.08 release note.

v13: Rename the EAL get VF token function, and leave the freebsd type as empty.

v12: support to vfio devices with VF token and no token.

v11: Use the eal parameter to pass the VF token, then not every PCI
device needs to be specified with this token. Also no ABI issue now.

v10: Use the __rte_internal to mark the internal API changing.

v9: Rewrite the document.

v8: Update the document.

v7: Add the Fixes tag in uuid, the release note and help
document.

v6: Drop the Fixes tag in uuid, since the file has been
moved to another place, not suitable to apply on stable. And this is not a bug, just some kind of enhancement.

v5: 1. Add the VF token parse error handling.
2. Split into two patches for different logic module.
3. Add more comments into the code for explaining the design.
4. Drop the ABI change workaround, this patch set focuses on code review.

v4: 1. Ignore rte_vfio_setup_device ABI check since it is
for Linux driver use.

v3: Fix the Travis build failed:
(1). rte_uuid.h:97:55: error: unknown type name ‘size_t’ (2). rte_uuid.h:58:2: error: implicit declaration of function ‘memcpy’

v2: Fix the FreeBSD build error.

v1: Update the commit message.

RFC v2:
Based on Vamsi's RFC v1, and Alex's patch for Qemu
[https://lore.kernel.org/lkml/[email protected]/]:
Use the devarg to pass-down the VF token.

RFC v1: https://patchwork.dpdk.org/patch/66281/ by Vamsi.

Haiyue Wang (2):
eal: add uuid dependent header files explicitly
eal: support for VFIO-PCI VF token

 doc/guides/linux_gsg/linux_drivers.rst        | 35 ++++++++++++++++++-
 doc/guides/linux_gsg/linux_eal_parameters.rst |  4 +++
 doc/guides/rel_notes/release_20_08.rst        |  6 ++++
 lib/librte_eal/common/eal_common_options.c    |  3 ++
 lib/librte_eal/common/eal_internal_cfg.h      |  2 ++
 lib/librte_eal/common/eal_options.h           |  2 ++
 lib/librte_eal/freebsd/eal.c                  |  5 +++
 lib/librte_eal/include/rte_eal.h              | 14 ++++++++
 lib/librte_eal/include/rte_uuid.h             |  2 ++
 lib/librte_eal/linux/eal.c                    | 33 +++++++++++++++++
 lib/librte_eal/linux/eal_vfio.c               | 19 ++++++++++
 lib/librte_eal/rte_eal_version.map            |  3 ++
 12 files changed, 127 insertions(+), 1 deletion(-)
Signature · 1 line
2.27.0