mirror_iproute2/man/man8
Ido Schimmel a66af55693 devlink: Add devlink trap policer set and show commands
The trap policer set command allows the user to set the parameters of
the packet trap policer, such as rate and burst size. Example:

# devlink trap policer set netdevsim/netdevsim10 policer 1 rate 1000 burst 32

The trap policer show command allows the user to get the current
parameters of an individual policer or a dump of all policers in case
one is not specified. When '-s' is specified the policer's statistics
are shown. Example:

# devlink -jps trap policer show netdevsim/netdevsim10 policer 1
{
    "trap_policer": {
        "netdevsim/netdevsim10": [ {
                "policer": 1,
                "rate": 1000,
                "burst": 32,
                "stats": {
                    "rx": {
                        "dropped": 53
                    }
                }
            } ]
    }
}

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
2020-03-31 23:24:35 +00:00
..
.gitignore whitespace cleanup 2017-01-12 17:31:20 -08:00
arpd.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
bridge.8 bridge: Fix src_vni argument in man page 2019-12-16 20:49:28 -08:00
ctstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
devlink-dev.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
devlink-health.8 devlink: Add devlink-health man page 2019-02-28 07:56:21 -08:00
devlink-monitor.8 devlink: Add devlink trap policer set and show commands 2020-03-31 23:24:35 +00:00
devlink-port.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
devlink-region.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
devlink-resource.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
devlink-sb.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
devlink-trap.8 devlink: Add devlink trap policer set and show commands 2020-03-31 23:24:35 +00:00
devlink.8 devlink: introduce cmdline option to switch to a different namespace 2019-10-07 21:59:50 +00:00
genl.8 genl: add manpage 2015-11-03 16:27:39 -08:00
ifcfg.8 man: Spelling fixes 2015-11-23 15:39:25 -08:00
ifstat.8 man: ifstat.8: Document --json and --pretty options 2018-08-16 10:25:02 -07:00
ip-address.8.in ip-address: Fix filtering by negated address flags 2018-11-19 11:38:24 -08:00
ip-addrlabel.8 man: ip-*.8: drop any reference to generic ip options 2016-03-02 11:23:53 -08:00
ip-fou.8 ip fou: Support binding FOU ports 2019-04-22 11:42:54 -07:00
ip-gue.8 iproute2: Man pages for fou and gue 2014-11-06 16:17:34 -08:00
ip-l2tp.8 ip/l2tp: remove offset and peer-offset options 2018-04-04 16:41:11 -07:00
ip-link.8.in Merge branch 'master' into next 2019-11-20 02:31:01 +00:00
ip-macsec.8 man: document the ip macsec offload command 2020-03-04 19:57:36 +00:00
ip-maddress.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
ip-monitor.8 man: ip-*.8: drop any reference to generic ip options 2016-03-02 11:23:53 -08:00
ip-mroute.8 man: ip-*.8: drop any reference to generic ip options 2016-03-02 11:23:53 -08:00
ip-neighbour.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
ip-netconf.8 man: update netconf manual for new attributes 2016-03-21 12:15:58 -07:00
ip-netns.8 ip-netns.8: document target-nsid and nsid options of list-id 2019-10-16 12:18:37 -07:00
ip-nexthop.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
ip-ntable.8 man: ip-ntable.8: Review synopsis section 2016-03-02 11:23:52 -08:00
ip-route.8.in man: add reference to ip route add encap ... src 2019-10-08 20:18:15 -07:00
ip-rule.8 iprule: Add tun_id filed in the selector 2018-12-31 22:13:13 -08:00
ip-sr.8 man: add documentation for IPv6 SR commands 2017-04-16 10:21:43 -07:00
ip-tcp_metrics.8 iproute2: add support for tcp_metrics 2012-10-08 10:23:07 -07:00
ip-token.8 ip, token: add del command 2016-05-31 12:10:29 -07:00
ip-tunnel.8 doc/man: spelling fixes 2018-10-18 13:15:45 -07:00
ip-vrf.8 ip: do not drop capabilities if net_admin=i is set 2018-05-14 21:07:34 -07:00
ip-xfrm.8 ip: xfrm: add espintcp encapsulation 2020-01-22 03:42:01 +00:00
ip.8 man: ip.8: Add missing vrf subcommand description 2020-02-28 13:48:23 -08:00
lnstat.8 man: drop references to Debian-specific paths 2017-12-30 09:43:47 -08:00
Makefile Makefile: check manpages for syntax errors 2019-01-14 08:01:51 -08:00
nstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
rdma-dev.8 rdma: Document adaptive-moderation 2019-08-02 09:30:56 -07:00
rdma-link.8 rdma: Document counter statistic 2019-07-19 10:51:13 -07:00
rdma-resource.8 rdma: Document counter statistic 2019-07-19 10:51:13 -07:00
rdma-statistic.8 man: rdma-statistic: Add filter description 2020-02-28 13:53:00 -08:00
rdma-system.8 rdma: Add man pages for rdma system commands 2019-05-31 15:10:31 -07:00
rdma.8 man: rdma.8: Add missing resource subcommand description 2020-02-28 13:53:00 -08:00
routef.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
routel.8 man: routel/routef: don't mention filesystem paths 2017-12-30 09:43:47 -08:00
rtacct.8 man: rtacct.8: Fix nstat options 2018-08-16 10:25:02 -07:00
rtmon.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
rtpr.8 man: rtpr: Rename s/bash/shell/ 2018-12-18 10:52:35 -08:00
rtstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
ss.8 man: ss.8: add documentation for drop counter 2019-09-17 17:25:25 +02:00
tc-actions.8 tc: m_action: introduce support for hw stats type 2020-03-20 16:18:44 +00:00
tc-basic.8 tc: add a man page for basic filter 2015-10-23 15:37:26 -07:00
tc-bfifo.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-bpf.8 Update tc-bpf.8 man page examples 2019-04-26 14:05:47 -07:00
tc-cake.8 q_cake: Add support for setting the fwmark option 2019-04-05 15:01:31 -07:00
tc-cbq-details.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-cbq.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-cbs.8 man: Fix typos on tc-cbs 2018-07-07 09:57:45 -07:00
tc-cgroup.8 tc: add a man page for cgroup filter 2015-10-23 15:37:26 -07:00
tc-choke.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-codel.8 tc: Add missing documentation for codel and fq_codel parameters 2018-03-13 18:05:35 -07:00
tc-connmark.8 tc: connmark, pedit: Rename BRANCH to CONTROL 2016-03-27 10:34:42 -07:00
tc-csum.8 man: tc-csum.8: Fix inconsistency in example description 2017-11-29 10:14:51 -08:00
tc-ctinfo.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
tc-drr.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-ematch.8 man: tc-ematch.8: documented canid() ematch rule 2019-11-17 12:31:04 -08:00
tc-etf.8 tc: etf: Add documentation for skip_sock_check. 2019-07-18 15:47:02 -07:00
tc-ets.8 tc: Add support for ETS Qdisc 2020-01-18 21:54:12 +00:00
tc-flow.8 man/man8/tc-flow.8: minor corrections 2016-07-25 08:19:25 -07:00
tc-flower.8 tc: flower: support masked port destination and source match 2019-11-25 21:37:08 +00:00
tc-fq_codel.8 tc: Add missing documentation for codel and fq_codel parameters 2018-03-13 18:05:35 -07:00
tc-fq_pie.8 tc: add support for FQ-PIE packet scheduler 2020-02-04 03:24:39 -08:00
tc-fq.8 tc: fq: add support for JSON output 2019-12-29 09:57:27 -08:00
tc-fw.8 tc: add a man page for fw filter 2015-10-23 15:37:26 -07:00
tc-hfsc.8 iproute2: unmangle netdev/my emails in man pages (hfsc, stab) 2016-07-06 21:07:23 -07:00
tc-htb.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-ife.8 man: tc-ife: add default type note 2017-08-30 08:26:46 -07:00
tc-matchall.8 man: fix man page warnings 2017-04-04 14:46:34 -07:00
tc-mirred.8 tc: m_mirred: Add support for ingress redirect/mirror 2016-10-26 11:20:47 -07:00
tc-mpls.8 man: update man pages for TC MPLS actions 2019-07-10 14:06:36 -07:00
tc-mqprio.8 man: Change numtc to num_tc 2018-09-10 11:47:11 -07:00
tc-nat.8 man: Add a man page for the nat action 2016-03-04 15:27:51 -08:00
tc-netem.8 man: tc-netem.8: fix URL for netem page 2019-07-02 17:44:51 -07:00
tc-pedit.8 tc/actions: introduce support for goto chain action 2017-05-22 13:31:51 -07:00
tc-pfifo_fast.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-pfifo.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
tc-pie.8 tc: pie: add support for JSON output 2019-12-29 09:57:27 -08:00
tc-police.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
tc-prio.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-red.8 tc: q_red: Support 'nodrop' flag 2020-03-25 16:45:37 +00:00
tc-route.8 tc: add a man page for route filter 2015-10-23 15:37:26 -07:00
tc-sample.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
tc-sfb.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-sfq.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-simple.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
tc-skbedit.8 tc: document 'mask' parameter in skbedit man page 2019-07-09 17:31:16 -07:00
tc-skbmod.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
tc-skbprio.8 Fix warning in tc-skbprio.8 manpage 2018-11-09 08:03:40 -08:00
tc-stab.8 iproute2: unmangle netdev/my emails in man pages (hfsc, stab) 2016-07-06 21:07:23 -07:00
tc-taprio.8 tc: taprio: Update documentation 2019-07-18 15:47:07 -07:00
tc-tbf.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-tcindex.8 tc: fix typo in tc-tcindex man page 2017-09-20 18:01:02 -07:00
tc-tunnel_key.8 tc: m_tunnel_key: Allow key-less tunnels 2019-01-22 16:04:07 +13:00
tc-u32.8 man: Fix unequal number of .RS and .RE macros 2019-12-04 11:13:12 -08:00
tc-vlan.8 man: tc-vlan.8: Fix for incorrect example 2018-03-27 09:13:28 -07:00
tc-xt.8 man: Add a man page for the xt action 2016-03-04 15:27:51 -08:00
tc.8 tc: add support for FQ-PIE packet scheduler 2020-02-04 03:24:39 -08:00
tipc-bearer.8 tipc: add the ability to get UDP bearer options 2016-09-01 08:34:35 -07:00
tipc-link.8 tipc: add link broadcast man page 2019-03-26 16:09:21 -07:00
tipc-media.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-nametable.8 tipc: JSON support for showing nametable 2018-06-13 20:45:38 -07:00
tipc-node.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-peer.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-socket.8 man: Syntax and warning fixes 2015-11-23 15:39:25 -08:00
tipc.8 tipc: JSON support for showing nametable 2018-06-13 20:45:38 -07:00