[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181002100243.740dc5d6@cakuba.netronome.com>
Date: Tue, 2 Oct 2018 10:02:43 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Prashant Bhole <bhole_prashant_q7@....ntt.co.jp>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
"David S . Miller" <davem@...emloft.net>,
Quentin Monnet <quentin.monnet@...ronome.com>,
netdev@...r.kernel.org
Subject: Re: [RFC v2 bpf-next 4/5] tools/bpf: bpftool, print strerror when
map lookup error occurs
On Tue, 2 Oct 2018 14:35:18 +0900, Prashant Bhole wrote:
> Since map lookup error can be ENOENT or EOPNOTSUPP, let's print
> strerror() as error message in normal and JSON output.
>
> This patch adds helper function print_entry_error() to print
> entry from lookup error occurs
>
> Example: Following example dumps a map which does not support lookup.
>
...
Acked-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Thank you!
Powered by blists - more mailing lists