Home
last modified time | relevance | path

Searched refs:DEVLINK_ATTR_ESWITCH_MODE (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/include/uapi/linux/
Ddevlink.h416 DEVLINK_ATTR_ESWITCH_MODE, /* u16 */ enumerator
/Linux-v6.6/net/devlink/
Ddev.c579 err = nla_put_u16(msg, DEVLINK_ATTR_ESWITCH_MODE, mode); in devlink_nl_eswitch_fill()
641 if (info->attrs[DEVLINK_ATTR_ESWITCH_MODE]) { in devlink_nl_cmd_eswitch_set_doit()
644 mode = nla_get_u16(info->attrs[DEVLINK_ATTR_ESWITCH_MODE]); in devlink_nl_cmd_eswitch_set_doit()
Dnetlink.c32 [DEVLINK_ATTR_ESWITCH_MODE] = NLA_POLICY_RANGE(NLA_U16, DEVLINK_ESWITCH_MODE_LEGACY,