18afd552dSSerhiy Boiko /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
28afd552dSSerhiy Boiko /* Copyright (c) 2022 Marvell International Ltd. All rights reserved. */
38afd552dSSerhiy Boiko 
48afd552dSSerhiy Boiko #ifndef _PRESTERA_MATCHALL_H_
58afd552dSSerhiy Boiko #define _PRESTERA_MATCHALL_H_
68afd552dSSerhiy Boiko 
78afd552dSSerhiy Boiko #include <net/pkt_cls.h>
88afd552dSSerhiy Boiko 
98afd552dSSerhiy Boiko struct prestera_flow_block;
108afd552dSSerhiy Boiko 
118afd552dSSerhiy Boiko int prestera_mall_replace(struct prestera_flow_block *block,
128afd552dSSerhiy Boiko 			  struct tc_cls_matchall_offload *f);
138afd552dSSerhiy Boiko void prestera_mall_destroy(struct prestera_flow_block *block);
14*44af9571SMaksym Glubokiy int prestera_mall_prio_get(struct prestera_flow_block *block,
15*44af9571SMaksym Glubokiy 			   u32 *prio_min, u32 *prio_max);
168afd552dSSerhiy Boiko 
178afd552dSSerhiy Boiko #endif /* _PRESTERA_MATCHALL_H_ */
18