[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <241c5948-5912-4a6f-b76e-48ed87a2ea81@6wind.com>
Date: Tue, 2 Apr 2024 08:53:54 +0200
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com,
sdf@...gle.com
Subject: Re: [PATCH net-next] tools: ynl: add ynl_dump_empty() helper
Le 29/03/2024 à 19:16, Jakub Kicinski a écrit :
> Checking if dump is empty requires a couple of casts.
> Add a convenient wrapper.
>
> Add an example use in the netdev sample, loopback is always
> present so an empty dump is an error.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Powered by blists - more mailing lists