[PATCH grout] infra: support interfaces with long devargs
Andrei Rybchenko
rybchenko.andrei at gmail.com
Mon Mar 16 08:10:32 CET 2026
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
More information about the grout
mailing list