* [PATCH] platform/mlx5: clarify device FD closure in mlx5 guide
@ 2026-02-10 14:46 Shani Peretz
2026-02-24 12:11 ` Raslan Darawsheh
0 siblings, 1 reply; 2+ messages in thread
From: Shani Peretz @ 2026-02-10 14:46 UTC (permalink / raw)
To: dev
Cc: rasland, michaelba, Shani Peretz, Dariusz Sosnowski,
Viacheslav Ovsiienko, Bing Zhao, Ori Kam, Suanming Mou,
Matan Azrad
Document that PMD takes ownership of the duplicated cmd_fd
and closes it during device teardown.
Signed-off-by: Shani Peretz <shperetz@nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
---
doc/guides/platform/mlx5.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/platform/mlx5.rst b/doc/guides/platform/mlx5.rst
index f386980fdd..285d58be4f 100644
--- a/doc/guides/platform/mlx5.rst
+++ b/doc/guides/platform/mlx5.rst
@@ -710,6 +710,7 @@ and below are the arguments supported by the common mlx5 layer.
File descriptor of ``ibv_context`` created outside the PMD.
PMD will use this FD to import remote CTX. The ``cmd_fd`` is obtained from
the ``ibv_context->cmd_fd`` member, which must be dup'd before being passed.
+ The PMD closes the duplicated FD when the device is closed.
This parameter is valid only if ``pd_handle`` parameter is specified.
By default, the PMD will create a new ``ibv_context``.
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] platform/mlx5: clarify device FD closure in mlx5 guide
2026-02-10 14:46 [PATCH] platform/mlx5: clarify device FD closure in mlx5 guide Shani Peretz
@ 2026-02-24 12:11 ` Raslan Darawsheh
0 siblings, 0 replies; 2+ messages in thread
From: Raslan Darawsheh @ 2026-02-24 12:11 UTC (permalink / raw)
To: Shani Peretz, dev
Cc: michaelba, Dariusz Sosnowski, Viacheslav Ovsiienko, Bing Zhao,
Ori Kam, Suanming Mou, Matan Azrad
Hi,
On 10/02/2026 4:46 PM, Shani Peretz wrote:
> Document that PMD takes ownership of the duplicated cmd_fd
> and closes it during device teardown.
>
> Signed-off-by: Shani Peretz <shperetz@nvidia.com>
> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-24 12:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-10 14:46 [PATCH] platform/mlx5: clarify device FD closure in mlx5 guide Shani Peretz
2026-02-24 12:11 ` Raslan Darawsheh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox