#include <soc/mscc/ocelot.h>
#include "ocelot_police.h"
#define POL_MODE_LINERATE …
#define POL_MODE_DATARATE …
#define POL_MODE_FRMRATE_HI …
#define POL_MODE_FRMRATE_LO …
#define POL_IX_PORT …
#define POL_IX_QUEUE …
#define POL_ORDER …
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)
{ … }
EXPORT_SYMBOL(…);
int ocelot_port_policer_add(struct ocelot *ocelot, int port,
struct ocelot_policer *pol)
{ … }
EXPORT_SYMBOL(…);
int ocelot_port_policer_del(struct ocelot *ocelot, int port)
{ … }
EXPORT_SYMBOL(…);