dsa_switch_tree
Regular
4.4
: Absent ⚠️
4.8
: ✅struct dsa_switch_tree {
struct list_head list;
u32 tree;
struct kref refcount;
bool applied;
struct dsa_platform_data *pd;
struct net_device *master_netdev;
int (*rcv)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
struct ethtool_ops master_ethtool_ops;
const struct ethtool_ops *master_orig_ethtool_ops;
s8 cpu_switch;
s8 cpu_port;
struct dsa_switch * ds[4];
const struct dsa_device_ops *tag_ops;
};
4.10
: ✅struct dsa_switch_tree {
struct list_head list;
u32 tree;
struct kref refcount;
bool applied;
struct dsa_platform_data *pd;
struct net_device *master_netdev;
int (*rcv)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
struct ethtool_ops master_ethtool_ops;
const struct ethtool_ops *master_orig_ethtool_ops;
s8 cpu_switch;
s8 cpu_port;
struct dsa_switch * ds[4];
const struct dsa_device_ops *tag_ops;
};
4.13
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
u32 tree;
struct kref refcount;
bool applied;
struct dsa_platform_data *pd;
struct sk_buff * (*rcv)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
const struct dsa_device_ops *tag_ops;
};
4.15
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
4.18
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
5.0
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
5.3
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
5.4
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
5.8
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct list_head ports;
struct list_head rtable;
};
5.11
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct list_head ports;
struct list_head rtable;
};
5.13
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
const struct dsa_device_ops *tag_ops;
enum dsa_tag_protocol default_proto;
struct dsa_platform_data *pd;
struct list_head ports;
struct list_head rtable;
struct net_device **lags;
unsigned int lags_len;
};
5.15
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
const struct dsa_device_ops *tag_ops;
enum dsa_tag_protocol default_proto;
struct dsa_platform_data *pd;
struct list_head ports;
struct list_head rtable;
struct net_device **lags;
unsigned int lags_len;
unsigned int last_switch;
};
5.19
: ✅struct dsa_switch_tree {
struct list_head list;
struct list_head ports;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
struct dsa_lag **lags;
const struct dsa_device_ops *tag_ops;
enum dsa_tag_protocol default_proto;
bool setup;
struct dsa_platform_data *pd;
struct list_head rtable;
unsigned int lags_len;
unsigned int last_switch;
};
6.2
: ✅struct dsa_switch_tree {
struct list_head list;
struct list_head ports;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
struct dsa_lag **lags;
const struct dsa_device_ops *tag_ops;
enum dsa_tag_protocol default_proto;
bool setup;
struct dsa_platform_data *pd;
struct list_head rtable;
unsigned int lags_len;
unsigned int last_switch;
};
6.5
: ✅struct dsa_switch_tree {
struct list_head list;
struct list_head ports;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
struct dsa_lag **lags;
const struct dsa_device_ops *tag_ops;
enum dsa_tag_protocol default_proto;
bool setup;
struct dsa_platform_data *pd;
struct list_head rtable;
unsigned int lags_len;
unsigned int last_switch;
};
6.8
: ✅struct dsa_switch_tree {
struct list_head list;
struct list_head ports;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
struct dsa_lag **lags;
const struct dsa_device_ops *tag_ops;
enum dsa_tag_protocol default_proto;
bool setup;
struct dsa_platform_data *pd;
struct list_head rtable;
unsigned int lags_len;
unsigned int last_switch;
};
arm64
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
armhf
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
ppc64el
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
riscv64
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
aws
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
azure
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
gcp
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
lowlatency
: ✅struct dsa_switch_tree {
struct list_head list;
struct raw_notifier_head nh;
unsigned int index;
struct kref refcount;
bool setup;
struct dsa_platform_data *pd;
struct dsa_port *cpu_dp;
struct dsa_switch * ds[4];
};
Regular
4.8
and 4.10
✅
4.10
and 4.13
⚠️struct raw_notifier_head nh
struct dsa_port *cpu_dp
struct net_device *master_netdev
struct ethtool_ops master_ethtool_ops
const struct ethtool_ops *master_orig_ethtool_ops
s8 cpu_switch
s8 cpu_port
int (*rcv)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *)
➡️ struct sk_buff * (*rcv)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *)
4.13
and 4.15
⚠️unsigned int index
bool setup
u32 tree
bool applied
struct sk_buff * (*rcv)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *)
const struct dsa_device_ops *tag_ops
4.15
and 4.18
✅
4.18
and 5.0
✅
5.0
and 5.3
✅
5.3
and 5.4
✅
5.4
and 5.8
⚠️struct list_head ports
struct list_head rtable
struct dsa_port *cpu_dp
struct dsa_switch * ds[4]
5.8
and 5.11
✅
5.11
and 5.13
⚠️const struct dsa_device_ops *tag_ops
enum dsa_tag_protocol default_proto
struct net_device **lags
unsigned int lags_len
5.13
and 5.15
⚠️unsigned int last_switch
5.15
and 5.19
⚠️struct net_device **lags
➡️ struct dsa_lag **lags
5.19
and 6.2
✅
6.2
and 6.5
✅
6.5
and 6.8
✅
amd64
and arm64
✅
amd64
and armhf
✅
amd64
and ppc64el
✅
amd64
and riscv64
✅
generic
and aws
✅
generic
and azure
✅
generic
and gcp
✅
generic
and lowlatency
✅