xref: /linux/drivers/net/ethernet/marvell/prestera/prestera_matchall.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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