xref: /linux/drivers/net/ethernet/marvell/prestera/prestera_matchall.h (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /* Copyright (c) 2022 Marvell International Ltd. All rights reserved. */
3 
4 #ifndef _PRESTERA_MATCHALL_H_
5 #define _PRESTERA_MATCHALL_H_
6 
7 #include <net/pkt_cls.h>
8 
9 struct prestera_flow_block;
10 
11 int prestera_mall_replace(struct prestera_flow_block *block,
12 			  struct tc_cls_matchall_offload *f);
13 void prestera_mall_destroy(struct prestera_flow_block *block);
14 int prestera_mall_prio_get(struct prestera_flow_block *block,
15 			   u32 *prio_min, u32 *prio_max);
16 
17 #endif /* _PRESTERA_MATCHALL_H_ */
18