Commit 45229c77 authored by Jim Harris's avatar Jim Harris Committed by Tomasz Zawadzki
Browse files

doc: clarify memory that can be used for DMA operations



Clarify that applications using SPDK + DPDK can use mbufs
for SPDK DMA operations.

Fixes issue #3197.

Signed-off-by: default avatarJim Harris <jim.harris@samsung.com>
Change-Id: I72ff2c5e51e039561dd2fdfe26c3cd2f133e1ebb
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20655


Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
parent 6f931ba7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2,7 +2,9 @@

The following is an attempt to explain why all data buffers passed to SPDK must
be allocated using spdk_dma_malloc() or its siblings, and why SPDK relies on
DPDK's proven base functionality to implement memory management.
DPDK's proven base functionality to implement memory management. (Note: DPDK
mbufs are also safe to use in applications combining SPDK and DPDK
functionality.)

Computing platforms generally carve physical memory up into 4KiB segments
called pages. They number the pages from 0 to N starting from the beginning of