xref: /linux/drivers/net/ethernet/marvell/prestera/prestera_flower.h (revision 41fb0cf1bced59c1fe178cf6cc9f716b5da9e40e)
1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /* Copyright (c) 2020-2021 Marvell International Ltd. All rights reserved. */
3 
4 #ifndef _PRESTERA_FLOWER_H_
5 #define _PRESTERA_FLOWER_H_
6 
7 #include <net/pkt_cls.h>
8 
9 struct prestera_switch;
10 struct prestera_flow_block;
11 
12 int prestera_flower_replace(struct prestera_flow_block *block,
13 			    struct flow_cls_offload *f);
14 void prestera_flower_destroy(struct prestera_flow_block *block,
15 			     struct flow_cls_offload *f);
16 int prestera_flower_stats(struct prestera_flow_block *block,
17 			  struct flow_cls_offload *f);
18 
19 #endif /* _PRESTERA_FLOWER_H_ */
20