Skip to content

implement missing APIs on FreeBSD

Bruce Richardson dpdk-dev 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2eal/freebsd: fix memseg addresses in EAL VA modelib/eal/freebsd/eal_memory.c+4 -10 replies
2/2eal/freebsd: implement virtual to IOVA translation fnapp/test/test_memory.c lib/eal/freebsd/eal_memory.c+84 -51 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchLewis Donzis
1/2
2/2T-b

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

Read the v1 thread

Cover letter [PATCH 0/2] implement missing APIs on FreeBSD

The APIs for converting a virtual address to an IOVA or a physical address were implemented only as stubs on FreeBSD, but unfortunately they are used by drivers such as "igc", part of e1000, causing the drivers to fail on BSD. A workaround would be to change the use of these functions with the rte_malloc equivalents (e.g. rte_malloc_virt2iova) - which do work on FreeBSD - but a better solution is just to replace the stubs with proper implementations in FreeBSD-specific EAL flags.

Bruce Richardson (2):
eal/freebsd: fix memseg addresses in IOVA_AS_VA mode eal/freebsd: implement virtual to IOVA translation fn

 app/test/test_memory.c       | 67 ++++++++++++++++++++++++++++++++++++
 lib/eal/freebsd/eal_memory.c | 27 +++++++++++----
 2 files changed, 88 insertions(+), 6 deletions(-)

--
2.53.0