Searched refs:MAX_PHYS_ITEM_ID_LEN (Results 1 – 6 of 6) sorted by relevance
155 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN];
1284 if (WARN_ON(attrs->switch_id.id_len > MAX_PHYS_ITEM_ID_LEN)) in __devlink_port_attrs_set()1285 attrs->switch_id.id_len = MAX_PHYS_ITEM_ID_LEN; in __devlink_port_attrs_set()
1127 + nla_total_size(MAX_PHYS_ITEM_ID_LEN) /* IFLA_PHYS_PORT_ID */ in if_nlmsg_size()1128 + nla_total_size(MAX_PHYS_ITEM_ID_LEN) /* IFLA_PHYS_SWITCH_ID */ in if_nlmsg_size()1988 [IFLA_PHYS_PORT_ID] = { .type = NLA_BINARY, .len = MAX_PHYS_ITEM_ID_LEN },1990 [IFLA_PHYS_SWITCH_ID] = { .type = NLA_BINARY, .len = MAX_PHYS_ITEM_ID_LEN },
1025 ppid->id_len = strnlen(priv->mii_bus_name, MAX_PHYS_ITEM_ID_LEN); in adin1110_port_get_port_parent_id()
862 #define MAX_PHYS_ITEM_ID_LEN 32 macro868 unsigned char id[MAX_PHYS_ITEM_ID_LEN];
5133 if (MAX_PHYS_ITEM_ID_LEN < id_len) in be_get_phys_port_id()