e63b50162a
This patch updates the metering and policing CLIs as follows: - change name of set port meter CLI to create port meter and add meter enable option, dscp table entries arguments, action mask, policer actions and previous meter color option as an input color - set the right metering algorithm in add meter profile CLIs related to srtcm(rfc2697) and trtcm(rfc2698,rfc4115) - change clear flag type from uint32_t to string in show meter stats CLI Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
21 lines
782 B
C
21 lines
782 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2017 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _CMDLINE_MTR_H_
|
|
#define _CMDLINE_MTR_H_
|
|
|
|
/* Traffic Metering and Policing */
|
|
extern cmdline_parse_inst_t cmd_add_port_meter_profile_srtcm;
|
|
extern cmdline_parse_inst_t cmd_add_port_meter_profile_trtcm;
|
|
extern cmdline_parse_inst_t cmd_add_port_meter_profile_trtcm_rfc4115;
|
|
extern cmdline_parse_inst_t cmd_del_port_meter_profile;
|
|
extern cmdline_parse_inst_t cmd_create_port_meter;
|
|
extern cmdline_parse_inst_t cmd_del_port_meter;
|
|
extern cmdline_parse_inst_t cmd_set_port_meter_profile;
|
|
extern cmdline_parse_inst_t cmd_set_port_meter_policer_action;
|
|
extern cmdline_parse_inst_t cmd_set_port_meter_stats_mask;
|
|
extern cmdline_parse_inst_t cmd_show_port_meter_stats;
|
|
|
|
#endif /* _CMDLINE_MTR_H_ */
|