summaryrefslogtreecommitdiff
path: root/curvetun_mgmt_users.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-12-23 22:31:23 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-01-05 15:05:37 +0100
commit9ece0fe0209673d2f3f7f4f3e3738dfa7ec1873b (patch)
tree7c9ba209db45e42bca2bd2c87acfef4ab827af06 /curvetun_mgmt_users.c
parent881d25d78273f1f72deaff7ff4baf29e3a4c7136 (diff)
trafgen: Add option to specify packets sending rate
Added -b,--rate option in units of: pps/B/kB/MB/kBit/Mbit/Gbit/KiB/MiB/GiB to specify rate at which packets will be sent. Similarly to -t,--gap option the packets will be sent in slow mode with 1 CPU. Tested with ifpps. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curvetun_mgmt_users.c')
0 files changed, 0 insertions, 0 deletions
v3: - removed multiline comments from added structures - simplify error handling in dsa_slave_add_cls_matchall Changes in v2: - fixed filter removal logic to disable the ingress or egress mirroring when there are no longer ports being monitored in ingress or egress - removed a stray list_head in dsa_port structure that is not used Tested using the two iproute2 examples: tc qdisc add dev eth1 handle ffff: ingress tc filter add dev eth1 parent ffff: \ matchall skip_sw \ action mirred egress mirror \ dev eth2 tc qdisc add dev eth1 handle 1: root prio tc filter add dev eth1 parent 1: \ matchall skip_sw \ action mirred egress mirror \ dev eth2 ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/arch/xtensa')