MLX4DV(7)
πΈ MLX4DV πΈ
ok so this is MLX4DV(7) from the Miscellaneous Information Manual, section 7 β direct verbs, but make it low level, bestie π
β¨ NAME β¨
mlx4dv β direct verbs for mlx4 devices, fr fr π¦
This is low level access to mlx4 devices so you can do data path operations, without all that general branching that ibv_post_send(3) is out here doing. no cap.
π DESCRIPTION π
okay so, plot twist: the libibverbs API is an abstract one. it literally does not care about whatever provider-specific implementation is underneath. and that abstraction? it's giving portability. your user applications can move around, cute. but it comes with a performance penalty π and for some applications, optimizing performance matters more than portability. iykyk.
the mlx4 direct verbs API is for exactly those applications. it exposes mlx4 specific low level data path (send / receive / completion) operations, letting the application bypass the libibverbs data path API entirely. main character energy honestly π
this interface consists of one hardware specific header file with the relevant inline functions, plus the conversion logic from ibverbs structures to mlx4 specific structures. periodt.
so the direct include of mlx4dv.h together with linkage to the mlx4 library will allow usage of this new interface. that's it, that's the combo π
once an application uses the direct flow, the locking scheme is fully managed by itself. and there's an expectation that no mixed flows in the data path for both direct/non-direct access will be by the same application. so like, pick a lane bestie π
π«Ά heads up: no mixed direct + non-direct data path flows from one application. that's the vibe rule, not a suggestion.
π NOTES π
ngl this section is empty in the original. nothing here. it's just vibes and silence πβ¨ (iconic of it, honestly)
π SEE ALSO π
ibv_post_send(3)verbs(7)
π AUTHORS π
Maor Gottlieb <maorg@mellanox.com> β thank you for your service, king π«‘π
and that's a wrap! this page is version 1.0.0, dated 2017-04-19, and it lives in the MLX4DV(7) section of the manual. slay, go read mlx4dv.h now πβ
π¦ where this page comes from
- alpine 3.24: rdma-core-doc 61.0-r0 Β· GPL-2.0-only OR BSD-2-Clause
- arch rolling: rdma-core 65.0-1 Β· GPL-2.0-or-later OR LicenseRef-OpenIB.org-BSD-MIT AND GPL-2.0-or-later OR LicenseRef-OpenIB.org-BSD-FreeBSD AND GPL-2.0-or-later OR LicenseRef-Intel-BSD-3-Clause AND GPL-2.0-or-later OR LicenseRef-PathScale-BSD-Patent-License AND CC0-1.0 AND MIT AND BSD-2-Clause AND CPL-1.0 OR BSD-2-Clause OR GPL-2.0-or-later
- centos-stream 10: rdma-core-devel 62.0-3.el10 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- debian bookworm: libibverbs-dev 44.0-2 Β· BSD-MIT OR GPL-2.0-only
- debian trixie: libibverbs-dev 56.1-1 Β· BSD-MIT OR GPL-2.0-only
- fedora 43: rdma-core-devel 58.0-4.fc43 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 43: rdma-core-devel 58.0-4.fc43 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: rdma-core-devel 61.0-2.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: rdma-core-devel 61.0-2.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: rdma-core-devel 61.1^20260812git975bdaf-1.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: rdma-core-devel 61.1^20260812git975bdaf-1.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- nixos 26.05: rdma-core 62.0
- nixpkgs unstable: rdma-core 65.0
- opensuse-leap 16.0: rdma-core-devel 56.1-160000.2.2 Β· BSD-2-Clause OR GPL-2.0-only
- opensuse-leap 16.0: rdma-core-devel 56.1-160000.2.2 Β· BSD-2-Clause OR GPL-2.0-only
- opensuse-leap 16.0: rdma-core-devel 56.1-160000.2.2 Β· BSD-2-Clause OR GPL-2.0-only
- opensuse-leap 16.0: rdma-core-devel 56.1-160000.2.2 Β· BSD-2-Clause OR GPL-2.0-only
- ubuntu jammy: libibverbs-dev 39.0-1 Β· BSD-MIT OR GPL-2.0-only
- ubuntu noble: libibverbs-dev 50.0-2build2 Β· BSD-MIT OR GPL-2.0-only
- ubuntu noble: libibverbs-dev 50.0-2ubuntu0.2 Β· BSD-MIT OR GPL-2.0-only
- ubuntu questing: libibverbs-dev 56.1-1ubuntu1
- ubuntu resolute: libibverbs-dev 61.0-2ubuntu3 Β· BSD-MIT OR GPL-2.0-only
- ubuntu stonking: libibverbs-dev 64.0-1ubuntu1 Β· BSD-MIT OR GPL-2.0-only
- Copyright (c) 2017 Mellanox Technologies, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms