[PATCH grout] infra: support interfaces with long devargs

Christophe Fontaine cfontain at redhat.com
Mon Mar 16 09:38:44 CET 2026


    Reviewed-by: Christophe Fontaine <cfontain at redhat.com>

On Mon, Mar 16, 2026 at 8:11 AM Andrei Rybchenko <rybchenko.andrei at gmail.com>
wrote:

> 64 symbols is definitely insufficient in the case of virtio_user
> device with vhost backend and specified MAC address, name and number
> of queues.
>
> Signed-off-by: Andrei Rybchenko <rybchenko.andrei at gmail.com>
> ---
>  modules/infra/api/gr_infra.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/infra/api/gr_infra.h b/modules/infra/api/gr_infra.h
> index 70429da2..66751771 100644
> --- a/modules/infra/api/gr_infra.h
> +++ b/modules/infra/api/gr_infra.h
> @@ -116,7 +116,7 @@ struct __gr_iface_info_port_base {
>  struct gr_iface_info_port {
>         BASE(__gr_iface_info_port_base);
>
> -#define GR_PORT_DEVARGS_SIZE 64
> +#define GR_PORT_DEVARGS_SIZE 128
>         char devargs[GR_PORT_DEVARGS_SIZE];
>  #define GR_PORT_DRIVER_NAME_SIZE 32
>         char driver_name[GR_PORT_DRIVER_NAME_SIZE];
> --
> 2.47.3
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/grout/attachments/20260316/96289f9a/attachment.htm>


More information about the grout mailing list