1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 2 /* Microsemi Ocelot Switch driver 3 * 4 * Copyright (c) 2019 Microsemi Corporation 5 */ 6 7 #ifndef _MSCC_OCELOT_POLICE_H_ 8 #define _MSCC_OCELOT_POLICE_H_ 9 10 #include "ocelot.h" 11 12 int ocelot_ace_policer_add(struct ocelot *ocelot, u32 pol_ix, 13 struct ocelot_policer *pol); 14 15 int ocelot_ace_policer_del(struct ocelot *ocelot, u32 pol_ix); 16 17 #endif /* _MSCC_OCELOT_POLICE_H_ */ 18