All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libmnl: add MNL_TYPE_UARR for devlink u64 array attributes
@ 2026-06-23  4:37 Ratheesh Kannoth
  2026-06-23  9:48 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Ratheesh Kannoth @ 2026-06-23  4:37 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Ratheesh Kannoth

Add MNL_TYPE_UARR (129) to enum mnl_attr_data_type to match
DEVLINK_VAR_ATTR_TYPE_U64_ARRAY in the kernel. That type represents
devlink param values encoded as a nested list of u64 attributes in
DEVLINK_ATTR_PARAM_VALUE_DATA, allowing drivers and userspace to
exchange variable-length u64/u32 arrays (e.g. multi-value devlink params).

Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
---
 include/libmnl/libmnl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h
index 0331da7..078d517 100644
--- a/include/libmnl/libmnl.h
+++ b/include/libmnl/libmnl.h
@@ -133,6 +133,7 @@ enum mnl_attr_data_type {
 	MNL_TYPE_NESTED_COMPAT,
 	MNL_TYPE_NUL_STRING,
 	MNL_TYPE_BINARY,
+	MNL_TYPE_UARR = 129,
 	MNL_TYPE_MAX,
 };
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-23 11:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-23  4:37 [PATCH] libmnl: add MNL_TYPE_UARR for devlink u64 array attributes Ratheesh Kannoth
2026-06-23  9:48 ` Pablo Neira Ayuso
2026-06-23 10:33   ` RE:: " Ratheesh Kannoth
2026-06-23 11:01     ` : " Pablo Neira Ayuso
2026-06-23 11:08       ` [EXTERNAL] " Ratheesh Kannoth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.