Thread (16 messages) flat view 16 messages, 2 authors, 2023-08-11

Re: [patch net-next v3 10/13] devlink: allow user to narrow per-instance dumps by passing handle attrs

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-08-11 02:17:23

On Thu, 10 Aug 2023 15:15:36 +0200 Jiri Pirko wrote:
+	struct nlattr **attrs = info->attrs;
+	int flags = NLM_F_MULTI;
+
+	if (attrs)
+		flags |= NLM_F_DUMP_FILTERED;
Are attrs NULL if user passed no TLVs?
TBH I'm not sure how valuable NLM_F_DUMP_FILTERED is in the first place.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help