[iproute2-next,v2,0/4] Add devlink-trap support
mbox series

Message ID 20190813083143.13509-1-idosch@idosch.org
Headers show
Series
  • Add devlink-trap support
Related show

Message

Ido Schimmel Aug. 13, 2019, 8:31 a.m. UTC
From: Ido Schimmel <idosch@mellanox.com>

This patchset adds devlink-trap support in iproute2.

Patch #1 increases the number of options devlink can handle.

Patches #2-#3 gradually add support for all devlink-trap commands.

Patch #4 adds a man page for devlink-trap.

See individual commit messages for example usage and output.

Changes in v2:
* Remove report option and monitor command since monitoring is done
  using drop monitor

Ido Schimmel (4):
  devlink: Increase number of supported options
  devlink: Add devlink trap set and show commands
  devlink: Add devlink trap group set and show commands
  devlink: Add man page for devlink-trap

 devlink/devlink.c          | 448 +++++++++++++++++++++++++++++++++++--
 man/man8/devlink-monitor.8 |   3 +-
 man/man8/devlink-trap.8    | 138 ++++++++++++
 man/man8/devlink.8         |  11 +-
 4 files changed, 581 insertions(+), 19 deletions(-)
 create mode 100644 man/man8/devlink-trap.8

Comments

David Ahern Aug. 18, 2019, 6:51 p.m. UTC | #1
On 8/13/19 2:31 AM, Ido Schimmel wrote:
> From: Ido Schimmel <idosch@mellanox.com>
> 
> This patchset adds devlink-trap support in iproute2.
> 
> Patch #1 increases the number of options devlink can handle.
> 
> Patches #2-#3 gradually add support for all devlink-trap commands.
> 
> Patch #4 adds a man page for devlink-trap.
> 
> See individual commit messages for example usage and output.
> 
> Changes in v2:
> * Remove report option and monitor command since monitoring is done
>   using drop monitor
> 
> Ido Schimmel (4):
>   devlink: Increase number of supported options
>   devlink: Add devlink trap set and show commands
>   devlink: Add devlink trap group set and show commands
>   devlink: Add man page for devlink-trap
> 
>  devlink/devlink.c          | 448 +++++++++++++++++++++++++++++++++++--
>  man/man8/devlink-monitor.8 |   3 +-
>  man/man8/devlink-trap.8    | 138 ++++++++++++
>  man/man8/devlink.8         |  11 +-
>  4 files changed, 581 insertions(+), 19 deletions(-)
>  create mode 100644 man/man8/devlink-trap.8
> 

applied to iproute2-next. Thanks