]> Git Repo - J-linux.git/blob - drivers/net/ethernet/mscc/ocelot_vcap.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / drivers / net / ethernet / mscc / ocelot_vcap.h
1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2 /* Microsemi Ocelot Switch driver
3  * Copyright (c) 2019 Microsemi Corporation
4  */
5
6 #ifndef _MSCC_OCELOT_VCAP_H_
7 #define _MSCC_OCELOT_VCAP_H_
8
9 #include "ocelot.h"
10 #include <soc/mscc/ocelot_vcap.h>
11 #include <net/flow_offload.h>
12
13 #define OCELOT_POLICER_DISCARD 0x17f
14
15 int ocelot_vcap_filter_stats_update(struct ocelot *ocelot,
16                                     struct ocelot_vcap_filter *rule);
17
18 int ocelot_vcap_init(struct ocelot *ocelot);
19
20 int ocelot_setup_tc_cls_flower(struct ocelot_port_private *priv,
21                                struct flow_cls_offload *f,
22                                bool ingress);
23
24 #endif /* _MSCC_OCELOT_VCAP_H_ */
This page took 0.028703 seconds and 4 git commands to generate.