On Tue, 27 Jan 2026 17:44:08 +0000
Cliff Burdick <[email protected]> wrote:

> +/**
> + * Get dma-buf file descriptor associated with a memseg list.
> + *
> + * @note This function does not perform any locking, and is only safe to call
> + *       from within memory-related callback functions.

Maybe warning instead of note.

> + *
> + * @param msl
> + *   A pointer to memseg list for which to get dma-buf fd.
> + *
> + * @return
> + *   Valid dma-buf file descriptor (>= 0) in case of success.
> + *   -1 if not dma-buf backed or in case of error, with ``rte_errno`` set to:
> + *     - EINVAL  - ``msl`` pointer was NULL or did not point to a valid 
> memseg list
> + */
> +int
> +rte_memseg_list_get_dmabuf_fd_thread_unsafe(const struct rte_memseg_list 
> *msl);

ENAMETOOLONG

At some point, you need to come up with a better naming convention.

Reply via email to