Lines Matching full:lanes
12 # Test port split configuration using devlink-port lanes attribute.
77 Get the $port's maximum number of lanes.
78 Return: number of lanes, e.g. 1, 2, 4 and 8.
86 if 'lanes' in values:
87 lanes = values['lanes']
89 lanes = 0
90 return lanes
150 def exists_and_lanes(ports, lanes, dev): argument
153 $lanes number of lanes after splitting.
162 if max_lanes != lanes:
163 print("port %s has %d lanes, but %s were expected"
164 % (port, lanes, max_lanes))
204 def split_splittable_port(port, k, lanes, dev): argument
219 test(exists_and_lanes(new_split_group, lanes/k, dev),
282 # If max lanes is 0, do not test port splitting at all