[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <30f344f2-b9d1-9c37-52f2-22bc8ddad929@gmail.com>
Date: Mon, 15 Jan 2018 17:49:07 -0700
From: David Ahern <dsahern@...il.com>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>, davem@...emloft.net,
daniel@...earbox.net, alexei.starovoitov@...il.com,
netdev@...r.kernel.org
Cc: oss-drivers@...ronome.com, jiri@...nulli.us,
john.fastabend@...il.com, jhs@...atatu.com, gerlitz.or@...il.com,
aring@...atatu.com, xiyou.wangcong@...il.com,
Quentin Monnet <quentin.monnet@...ronome.com>
Subject: Re: [PATCH bpf-next 11/11] selftests/bpf: add checks on extack
messages for eBPF hw offload tests
On 1/15/18 5:30 PM, Jakub Kicinski wrote:
> A new flag ("--skip-extack") is added to the Python script so as to
> allow to skip these checks. This is because extack messages cannot be
> displayed by tc and ip if tools from iproute2 package were compiled
> without libmnl, but we do not want this to prevent users to run the
> other checks.
That is unfortunate. Did you consider auto-detecting support? e.g., run
a command that is known to fail and return a message. For example,
$ ip ro add 1.1.1.1/32 dev eth0 onlink
Error: Invalid flags for nexthop - PERVASIVE and ONLINK can not be set.
Powered by blists - more mailing lists