Lines Matching full:ports
15 # First, check that all the ports with 1 lane fail to split.
16 # Second, check that all the ports with more than 1 lane can be split
45 Class that holds information on the devlink ports, required to the tests;
46 if_names: A list of interfaces in the devlink ports.
51 Get a list of physical devlink ports.
60 ports = json.loads(stdout)['port']
62 validate_devlink_output(ports, 'flavour')
64 for port in ports:
66 if ports[port]['flavour'] == 'physical':
67 arr.append(Port(bus_info=port, name=ports[port]['netdev']))
109 Split $port into $k ports.
111 Return: Array of sub ports after splitting.
142 Check if $port exists in the devlink ports.
150 def exists_and_lanes(ports, lanes, dev): argument
152 Check if every port in the list $ports exists in the devlink ports and has
157 for port in ports:
160 print("port %s doesn't exist in devlink ports" % port)
276 ports = devlink_ports(dev)
279 for port in ports.if_names:
292 # Else, splitting should pass and all the split ports should exist.