Document that PMD takes ownership of the duplicated cmd_fd and closes it during device teardown.
Signed-off-by: Shani Peretz <[email protected]> Acked-by: Dariusz Sosnowski <[email protected]> --- 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

