dsa.h (82e94d4144d7a29e6e955e4b2ea681ed3f16d689) | dsa.h (0148bb50b8fd51baf357de8b237c0c6011506540) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * include/net/dsa.h - Driver for Distributed Switch Architecture switch chips 4 * Copyright (c) 2008-2009 Marvell Semiconductor 5 */ 6 7#ifndef __LINUX_NET_DSA_H 8#define __LINUX_NET_DSA_H --- 1014 unchanged lines hidden (view full) --- 1023 int (*cls_flower_add)(struct dsa_switch *ds, int port, 1024 struct flow_cls_offload *cls, bool ingress); 1025 int (*cls_flower_del)(struct dsa_switch *ds, int port, 1026 struct flow_cls_offload *cls, bool ingress); 1027 int (*cls_flower_stats)(struct dsa_switch *ds, int port, 1028 struct flow_cls_offload *cls, bool ingress); 1029 int (*port_mirror_add)(struct dsa_switch *ds, int port, 1030 struct dsa_mall_mirror_tc_entry *mirror, | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * include/net/dsa.h - Driver for Distributed Switch Architecture switch chips 4 * Copyright (c) 2008-2009 Marvell Semiconductor 5 */ 6 7#ifndef __LINUX_NET_DSA_H 8#define __LINUX_NET_DSA_H --- 1014 unchanged lines hidden (view full) --- 1023 int (*cls_flower_add)(struct dsa_switch *ds, int port, 1024 struct flow_cls_offload *cls, bool ingress); 1025 int (*cls_flower_del)(struct dsa_switch *ds, int port, 1026 struct flow_cls_offload *cls, bool ingress); 1027 int (*cls_flower_stats)(struct dsa_switch *ds, int port, 1028 struct flow_cls_offload *cls, bool ingress); 1029 int (*port_mirror_add)(struct dsa_switch *ds, int port, 1030 struct dsa_mall_mirror_tc_entry *mirror, |
1031 bool ingress); | 1031 bool ingress, struct netlink_ext_ack *extack); |
1032 void (*port_mirror_del)(struct dsa_switch *ds, int port, 1033 struct dsa_mall_mirror_tc_entry *mirror); 1034 int (*port_policer_add)(struct dsa_switch *ds, int port, 1035 struct dsa_mall_policer_tc_entry *policer); 1036 void (*port_policer_del)(struct dsa_switch *ds, int port); 1037 int (*port_setup_tc)(struct dsa_switch *ds, int port, 1038 enum tc_setup_type type, void *type_data); 1039 --- 384 unchanged lines hidden --- | 1032 void (*port_mirror_del)(struct dsa_switch *ds, int port, 1033 struct dsa_mall_mirror_tc_entry *mirror); 1034 int (*port_policer_add)(struct dsa_switch *ds, int port, 1035 struct dsa_mall_policer_tc_entry *policer); 1036 void (*port_policer_del)(struct dsa_switch *ds, int port); 1037 int (*port_setup_tc)(struct dsa_switch *ds, int port, 1038 enum tc_setup_type type, void *type_data); 1039 --- 384 unchanged lines hidden --- |