xref: /linux/drivers/net/ethernet/mscc/ocelot_police.h (revision 3b02a051d25d9600e9d403ad3043aed7de00160e)
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