Home
last modified time | relevance | path

Searched refs:VLAN_GROUP_ARRAY_PART_LEN (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/8021q/
H A Dvlan.h14 #define VLAN_GROUP_ARRAY_PART_LEN (VLAN_N_VID/VLAN_GROUP_ARRAY_SPLIT_PARTS) macro
59 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in __vlan_group_get_device()
64 return array ? array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] : NULL; in __vlan_group_get_device()
89 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in vlan_group_set_device()
90 array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] = dev; in vlan_group_set_device()
H A Dvlan.c64 vidx = vlan_id / VLAN_GROUP_ARRAY_PART_LEN; in vlan_group_prealloc_vid()
69 size = sizeof(struct net_device *) * VLAN_GROUP_ARRAY_PART_LEN; in vlan_group_prealloc_vid()