Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
624 B
C
25 lines
624 B
C
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
|
|
/* Microsemi Ocelot Switch driver
|
|
* Copyright (c) 2019 Microsemi Corporation
|
|
*/
|
|
|
|
#ifndef _MSCC_OCELOT_VCAP_H_
|
|
#define _MSCC_OCELOT_VCAP_H_
|
|
|
|
#include "ocelot.h"
|
|
#include <soc/mscc/ocelot_vcap.h>
|
|
#include <net/flow_offload.h>
|
|
|
|
#define OCELOT_POLICER_DISCARD 0x17f
|
|
|
|
int ocelot_vcap_filter_stats_update(struct ocelot *ocelot,
|
|
struct ocelot_vcap_filter *rule);
|
|
|
|
int ocelot_vcap_init(struct ocelot *ocelot);
|
|
|
|
int ocelot_setup_tc_cls_flower(struct ocelot_port_private *priv,
|
|
struct flow_cls_offload *f,
|
|
bool ingress);
|
|
|
|
#endif /* _MSCC_OCELOT_VCAP_H_ */
|