Searched refs:MAX_PHYS_ITEM_ID_LEN (Results 1 – 6 of 6) sorted by relevance
147 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN];
1079 + nla_total_size(MAX_PHYS_ITEM_ID_LEN) /* IFLA_PHYS_PORT_ID */ in if_nlmsg_size()1080 + nla_total_size(MAX_PHYS_ITEM_ID_LEN) /* IFLA_PHYS_SWITCH_ID */ in if_nlmsg_size()1908 [IFLA_PHYS_PORT_ID] = { .type = NLA_BINARY, .len = MAX_PHYS_ITEM_ID_LEN },1910 [IFLA_PHYS_SWITCH_ID] = { .type = NLA_BINARY, .len = MAX_PHYS_ITEM_ID_LEN },
10102 if (WARN_ON(attrs->switch_id.id_len > MAX_PHYS_ITEM_ID_LEN)) in __devlink_port_attrs_set()10103 attrs->switch_id.id_len = MAX_PHYS_ITEM_ID_LEN; in __devlink_port_attrs_set()
1031 ppid->id_len = strnlen(priv->mii_bus_name, MAX_PHYS_ITEM_ID_LEN); in adin1110_port_get_port_parent_id()
861 #define MAX_PHYS_ITEM_ID_LEN 32 macro867 unsigned char id[MAX_PHYS_ITEM_ID_LEN];
5134 if (MAX_PHYS_ITEM_ID_LEN < id_len) in be_get_phys_port_id()