path: root/doc/guides/nics
diff options
authorYongseok Koh <>2018-09-24 18:36:47 +0000
committerFerruh Yigit <>2018-10-11 18:53:49 +0200
commit7e43a32ee06054e7af9de6b9830b61b783df063b (patch)
treef2d0ad730f97d7ffa9f311151323db9c2102a945 /doc/guides/nics
parent31912d9924039c3a4f58e1bb00f380e5b4c7bd81 (diff)
net/mlx5: support externally allocated static memory
When MLX PMD registers memory for DMA, it accesses the global memseg list of DPDK to maximize the range of registration so that LKey search can be more efficient. Granularity of MR registration is per page. Externally allocated memory shouldn't be used for DMA because it can't be searched in the memseg list and free event can't be tracked by DPDK. If it is used, the following error will occur: net_mlx5: port 0 unable to find virtually contiguous chunk for address (0x5600017587c0). rte_memseg_contig_walk() failed. There's a pending patchset [1] which enables externally allocated memory. Once it is merged, users can register their own memory out of EAL then that will resolve this issue. Meanwhile, if the external memory is static (allocated on startup and never freed), such memory can also be registered by little tweak in the code. [1] This patch is not a bug fix but needs to be included in stable versions. Fixes: 974f1e7ef146 ("net/mlx5: add new memory region support") Cc: Signed-off-by: Yongseok Koh <>
Diffstat (limited to 'doc/guides/nics')
0 files changed, 0 insertions, 0 deletions