devlink_port
Regular
4.4
: Absent ⚠️
4.8
: Absent ⚠️
4.10
: Absent ⚠️
4.13
: ✅struct devlink_port {
struct list_head list;
struct devlink *devlink;
unsigned int index;
bool registered;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
bool split;
u32 split_group;
};
4.15
: ✅struct devlink_port {
struct list_head list;
struct devlink *devlink;
unsigned int index;
bool registered;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
bool split;
u32 split_group;
};
4.18
: ✅struct devlink_port {
struct list_head list;
struct devlink *devlink;
unsigned int index;
bool registered;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
};
5.0
: ✅struct devlink_port {
struct list_head list;
struct devlink *devlink;
unsigned int index;
bool registered;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
};
5.3
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
struct delayed_work type_warn_dw;
};
5.4
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
struct delayed_work type_warn_dw;
};
5.8
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
struct delayed_work type_warn_dw;
};
5.11
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct list_head region_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
u8 attrs_set;
u8 switch_port;
struct delayed_work type_warn_dw;
struct list_head reporter_list;
struct mutex reporters_lock;
};
5.13
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct list_head region_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
u8 attrs_set;
u8 switch_port;
struct delayed_work type_warn_dw;
struct list_head reporter_list;
struct mutex reporters_lock;
};
5.15
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct list_head region_list;
struct devlink *devlink;
unsigned int index;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
u8 attrs_set;
u8 switch_port;
struct delayed_work type_warn_dw;
struct list_head reporter_list;
struct mutex reporters_lock;
struct devlink_rate *devlink_rate;
};
5.19
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct list_head region_list;
struct devlink *devlink;
unsigned int index;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
u8 attrs_set;
u8 switch_port;
struct delayed_work type_warn_dw;
struct list_head reporter_list;
struct mutex reporters_lock;
struct devlink_rate *devlink_rate;
struct devlink_linecard *linecard;
};
6.2
: ✅struct devlink_port {
struct list_head list;
struct list_head region_list;
struct devlink *devlink;
unsigned int index;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
struct (anon) type_eth;
struct (anon) type_ib;
struct devlink_port_attrs attrs;
u8 attrs_set;
u8 switch_port;
u8 registered;
u8 initialized;
struct delayed_work type_warn_dw;
struct list_head reporter_list;
struct mutex reporters_lock;
struct devlink_rate *devlink_rate;
struct devlink_linecard *linecard;
};
6.5
: ✅struct devlink_port {
struct list_head list;
struct list_head region_list;
struct devlink *devlink;
const struct devlink_port_ops *ops;
unsigned int index;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
struct (anon) type_eth;
struct (anon) type_ib;
struct devlink_port_attrs attrs;
u8 attrs_set;
u8 switch_port;
u8 registered;
u8 initialized;
struct delayed_work type_warn_dw;
struct list_head reporter_list;
struct devlink_rate *devlink_rate;
struct devlink_linecard *linecard;
};
6.8
: ✅struct devlink_port {
struct list_head list;
struct list_head region_list;
struct devlink *devlink;
const struct devlink_port_ops *ops;
unsigned int index;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
struct (anon) type_eth;
struct (anon) type_ib;
struct devlink_port_attrs attrs;
u8 attrs_set;
u8 switch_port;
u8 registered;
u8 initialized;
struct delayed_work type_warn_dw;
struct list_head reporter_list;
struct devlink_rate *devlink_rate;
struct devlink_linecard *linecard;
u32 rel_index;
};
arm64
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
struct delayed_work type_warn_dw;
};
armhf
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
struct delayed_work type_warn_dw;
};
ppc64el
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
struct delayed_work type_warn_dw;
};
riscv64
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
struct delayed_work type_warn_dw;
};
aws
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
struct delayed_work type_warn_dw;
};
azure
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
struct delayed_work type_warn_dw;
};
gcp
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
struct delayed_work type_warn_dw;
};
lowlatency
: ✅struct devlink_port {
struct list_head list;
struct list_head param_list;
struct devlink *devlink;
unsigned int index;
bool registered;
spinlock_t type_lock;
enum devlink_port_type type;
enum devlink_port_type desired_type;
void *type_dev;
struct devlink_port_attrs attrs;
struct delayed_work type_warn_dw;
};
Regular
4.13
and 4.15
✅
4.15
and 4.18
⚠️struct devlink_port_attrs attrs
bool split
u32 split_group
4.18
and 5.0
✅
5.0
and 5.3
⚠️struct list_head param_list
spinlock_t type_lock
struct delayed_work type_warn_dw
5.3
and 5.4
✅
5.4
and 5.8
✅
5.8
and 5.11
⚠️struct list_head region_list
u8 attrs_set
u8 switch_port
struct list_head reporter_list
struct mutex reporters_lock
5.11
and 5.13
✅
5.13
and 5.15
⚠️struct devlink_rate *devlink_rate
bool registered
5.15
and 5.19
⚠️struct devlink_linecard *linecard
5.19
and 6.2
⚠️struct (anon) type_eth
struct (anon) type_ib
u8 registered
u8 initialized
struct list_head param_list
void *type_dev
6.2
and 6.5
⚠️const struct devlink_port_ops *ops
struct mutex reporters_lock
6.5
and 6.8
⚠️u32 rel_index
amd64
and arm64
✅
amd64
and armhf
✅
amd64
and ppc64el
✅
amd64
and riscv64
✅
generic
and aws
✅
generic
and azure
✅
generic
and gcp
✅
generic
and lowlatency
✅