/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ /* Microsemi Ocelot Switch driver * * Copyright (c) 2019 Microsemi Corporation */ #ifndef _MSCC_OCELOT_POLICE_H_ #define _MSCC_OCELOT_POLICE_H_ #include "ocelot.h" #include <net/flow_offload.h> enum mscc_qos_rate_mode { … }; struct qos_policer_conf { … }; int qos_policer_conf_set(struct ocelot *ocelot, u32 pol_ix, struct qos_policer_conf *conf); int ocelot_policer_validate(const struct flow_action *action, const struct flow_action_entry *a, struct netlink_ext_ack *extack); #endif /* _MSCC_OCELOT_POLICE_H_ */