1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2 /* Microsemi Ocelot Switch driver
4 * Copyright (c) 2019 Microsemi Corporation
7 #ifndef _MSCC_OCELOT_TC_H_
8 #define _MSCC_OCELOT_TC_H_
10 #include <linux/netdevice.h>
12 struct ocelot_port_tc
{
14 unsigned long offload_cnt
;
16 unsigned long police_id
;
19 int ocelot_setup_tc(struct net_device
*dev
, enum tc_setup_type type
,
22 #endif /* _MSCC_OCELOT_TC_H_ */