switchdev_opsRegular
4.4: Absent ⚠️
4.8: ✅struct switchdev_ops {
int (*switchdev_port_attr_get)(struct net_device *, struct switchdev_attr *);
int (*switchdev_port_attr_set)(struct net_device *, const struct switchdev_attr *, struct switchdev_trans *);
int (*switchdev_port_obj_add)(struct net_device *, const struct switchdev_obj *, struct switchdev_trans *);
int (*switchdev_port_obj_del)(struct net_device *, const struct switchdev_obj *);
int (*switchdev_port_obj_dump)(struct net_device *, struct switchdev_obj *, switchdev_obj_dump_cb_t *);
};
4.10: ✅struct switchdev_ops {
int (*switchdev_port_attr_get)(struct net_device *, struct switchdev_attr *);
int (*switchdev_port_attr_set)(struct net_device *, const struct switchdev_attr *, struct switchdev_trans *);
int (*switchdev_port_obj_add)(struct net_device *, const struct switchdev_obj *, struct switchdev_trans *);
int (*switchdev_port_obj_del)(struct net_device *, const struct switchdev_obj *);
int (*switchdev_port_obj_dump)(struct net_device *, struct switchdev_obj *, switchdev_obj_dump_cb_t *);
};
4.13: ✅struct switchdev_ops {
int (*switchdev_port_attr_get)(struct net_device *, struct switchdev_attr *);
int (*switchdev_port_attr_set)(struct net_device *, const struct switchdev_attr *, struct switchdev_trans *);
int (*switchdev_port_obj_add)(struct net_device *, const struct switchdev_obj *, struct switchdev_trans *);
int (*switchdev_port_obj_del)(struct net_device *, const struct switchdev_obj *);
int (*switchdev_port_obj_dump)(struct net_device *, struct switchdev_obj *, switchdev_obj_dump_cb_t *);
};
4.15: ✅struct switchdev_ops {
int (*switchdev_port_attr_get)(struct net_device *, struct switchdev_attr *);
int (*switchdev_port_attr_set)(struct net_device *, const struct switchdev_attr *, struct switchdev_trans *);
int (*switchdev_port_obj_add)(struct net_device *, const struct switchdev_obj *, struct switchdev_trans *);
int (*switchdev_port_obj_del)(struct net_device *, const struct switchdev_obj *);
};
4.18: ✅struct switchdev_ops {
int (*switchdev_port_attr_get)(struct net_device *, struct switchdev_attr *);
int (*switchdev_port_attr_set)(struct net_device *, const struct switchdev_attr *, struct switchdev_trans *);
int (*switchdev_port_obj_add)(struct net_device *, const struct switchdev_obj *, struct switchdev_trans *);
int (*switchdev_port_obj_del)(struct net_device *, const struct switchdev_obj *);
};
5.0: ✅struct switchdev_ops {
int (*switchdev_port_attr_get)(struct net_device *, struct switchdev_attr *);
int (*switchdev_port_attr_set)(struct net_device *, const struct switchdev_attr *, struct switchdev_trans *);
};
5.3: Absent ⚠️
5.4: Absent ⚠️
5.8: Absent ⚠️
5.11: Absent ⚠️
5.13: Absent ⚠️
5.15: Absent ⚠️
5.19: Absent ⚠️
6.2: Absent ⚠️
6.5: Absent ⚠️
6.8: Absent ⚠️
arm64: Absent ⚠️
armhf: Absent ⚠️
ppc64el: Absent ⚠️
riscv64: Absent ⚠️
aws: Absent ⚠️
azure: Absent ⚠️
gcp: Absent ⚠️
lowlatency: Absent ⚠️
Regular
4.8 and 4.10 ✅
4.10 and 4.13 ✅
4.13 and 4.15 ⚠️int (*switchdev_port_obj_dump)(struct net_device *, struct switchdev_obj *, switchdev_obj_dump_cb_t *)
4.15 and 4.18 ✅
4.18 and 5.0 ⚠️int (*switchdev_port_obj_add)(struct net_device *, const struct switchdev_obj *, struct switchdev_trans *)
int (*switchdev_port_obj_del)(struct net_device *, const struct switchdev_obj *)