Re: [PATCH 1/2] eal: support dmabuf

Stephen Hemminger
2026-01-29T01:48:53Z

On Tue, 27 Jan 2026 17:44:08 +0000
Cliff Burdick <cburdick@nvidia.com> wrote:

> + int fd; /**< dmabuf fd, -1 if not dmabuf backed */
> + uint64_t offset; /**< offset within dmabuf */
> + } dmabuf_info[RTE_MAX_MEMSEG_LISTS] = {
> + [0 ... RTE_MAX_MEMSEG_LISTS - 1] = { .fd = -1, .offset = 0 }
> +};
> +

Range initializer are a GCC extension not available in MSVC.