summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-05-02 20:39:00 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-02 20:39:00 +0300
commitcdfe0d92c4f37573f536f17901120f0130d32bfd (patch)
tree01bd565c18c020dc4a0019d5bf6c5758444fd63a /include
parentc8300af614b2c48a67e13f6f481f42ee668d5526 (diff)
parent39716c00ed0a7f5d9e37300eea01fcf25cabe13a (diff)
downloadlinux-cdfe0d92c4f37573f536f17901120f0130d32bfd.tar.xz
Merge branch 'net-dsa-yt921x-add-port-police-support'
David Yang says: ==================== net: dsa: yt921x: Add port police support ==================== Link: https://patch.msgid.link/20260430114529.3536911-1-mmyangfl@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/dsa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 8b6d34e8a6f0..4cc67469cf2e 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -1122,7 +1122,8 @@ struct dsa_switch_ops {
void (*port_mirror_del)(struct dsa_switch *ds, int port,
struct dsa_mall_mirror_tc_entry *mirror);
int (*port_policer_add)(struct dsa_switch *ds, int port,
- const struct flow_action_police *policer);
+ const struct flow_action_police *policer,
+ struct netlink_ext_ack *extack);
void (*port_policer_del)(struct dsa_switch *ds, int port);
int (*port_setup_tc)(struct dsa_switch *ds, int port,
enum tc_setup_type type, void *type_data);