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
43 Class that holds information on the devlink ports, required to the tests;
44 if_names: A list of interfaces in the devlink ports.
49 Get a list of physical devlink ports.
58 ports = json.loads(stdout)['port']
60 for port in ports:
62 if ports[port]['flavour'] == 'physical':
63 arr.append(Port(bus_info=port, name=ports[port]['netdev']))
105 Split $port into $k ports.
107 Return: Array of sub ports after splitting.
138 Check if $port exists in the devlink ports.
146 def exists_and_lanes(ports, lanes, dev): argument
148 Check if every port in the list $ports exists in the devlink ports and has
153 for port in ports:
156 print("port %s doesn't exist in devlink ports" % port)
250 ports = devlink_ports(dev)
252 for port in ports.if_names:
265 # Else, splitting should pass and all the split ports should exist.