1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2017 Intel Corporation
5 #ifndef _CMDLINE_MTR_H_
6 #define _CMDLINE_MTR_H_
9 /* Traffic Metering and Policing */
10 extern cmdline_parse_inst_t cmd_show_port_meter_cap;
11 extern cmdline_parse_inst_t cmd_add_port_meter_profile_srtcm;
12 extern cmdline_parse_inst_t cmd_add_port_meter_profile_trtcm;
13 extern cmdline_parse_inst_t cmd_add_port_meter_profile_trtcm_rfc4115;
14 extern cmdline_parse_inst_t cmd_del_port_meter_profile;
15 extern cmdline_parse_inst_t cmd_create_port_meter;
16 extern cmdline_parse_inst_t cmd_enable_port_meter;
17 extern cmdline_parse_inst_t cmd_disable_port_meter;
18 extern cmdline_parse_inst_t cmd_del_port_meter;
19 extern cmdline_parse_inst_t cmd_del_port_meter_policy;
20 extern cmdline_parse_inst_t cmd_set_port_meter_profile;
21 extern cmdline_parse_inst_t cmd_set_port_meter_dscp_table;
22 extern cmdline_parse_inst_t cmd_set_port_meter_stats_mask;
23 extern cmdline_parse_inst_t cmd_show_port_meter_stats;
24 void print_mtr_err_msg(struct rte_mtr_error *error);
26 #endif /* _CMDLINE_MTR_H_ */