Lines Matching full:lanes
12 # Test port split configuration using devlink-port lanes attribute.
75 Get the $port's maximum number of lanes.
76 Return: number of lanes, e.g. 1, 2, 4 and 8.
84 if 'lanes' in values:
85 lanes = values['lanes']
87 lanes = 0
88 return lanes
148 def exists_and_lanes(ports, lanes, dev): argument
151 $lanes number of lanes after splitting.
160 if max_lanes != lanes:
161 print("port %s has %d lanes, but %s were expected"
162 % (port, lanes, max_lanes))
202 def split_splittable_port(port, k, lanes, dev): argument
217 test(exists_and_lanes(new_split_group, lanes/k, dev),
261 # If max lanes is 0, do not test port splitting at all