[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190506084311.152bdcef@hermes.lan>
Date: Mon, 6 May 2019 08:43:11 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Ido Schimmel <idosch@...sch.org>
Cc: netdev@...r.kernel.org, jiri@...lanox.com, mlxsw@...lanox.com,
Ido Schimmel <idosch@...lanox.com>
Subject: Re: [PATCH iproute2-master] devlink: Fix monitor command
On Sun, 5 May 2019 17:12:43 +0300
Ido Schimmel <idosch@...sch.org> wrote:
> From: Ido Schimmel <idosch@...lanox.com>
>
> The command is supposed to allow users to filter events related to
> certain objects, but returns an error when an object is specified:
>
> # devlink mon dev
> Command "dev" not found
>
> Fix this by allowing the command to process the specified objects.
>
> Example:
>
> # devlink/devlink mon dev &
> # echo "10 1" > /sys/bus/netdevsim/new_device
> [dev,new] netdevsim/netdevsim10
>
> # devlink/devlink mon port &
> # echo "11 1" > /sys/bus/netdevsim/new_device
> [port,new] netdevsim/netdevsim11/0: type notset flavour physical
> [port,new] netdevsim/netdevsim11/0: type eth netdev eth1 flavour physical
>
> # devlink/devlink mon &
> # echo "12 1" > /sys/bus/netdevsim/new_device
> [dev,new] netdevsim/netdevsim12
> [port,new] netdevsim/netdevsim12/0: type notset flavour physical
> [port,new] netdevsim/netdevsim12/0: type eth netdev eth2 flavour physical
>
> Fixes: a3c4b484a1ed ("add devlink tool")
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
Applied, thanks.
Powered by blists - more mailing lists