Lines Matching full:print
21 print(f'no attributes, expected: {valid_attrs}')
28 print(f'expected value for \'{attr}\'')
32 print(f'invalid attribute \'{attr}\', expected: {valid_attrs}')
42 Pretty-print a set of fields from the reply. desc specifies the
63 print(f'{name}: {value}')
67 Print out the speed-like strings from the value dict.
71 print(f'{name}: {" ".join(speed)}')
103 print(f"Not supported for device {args.device}")
166 print("not implemented")
180 print("not implemented")
208 print(f'EEE status: {status}')
249 print(f'{f}: {value}{fixed}{req}')
255 print(f'Channel parameters for {args.device}:')
257 print(f'Pre-set maximums:')
264 print(f'Current hardware settings:')
276 print(f'Ring parameters for {args.device}:')
278 print(f'Pre-set maximums:')
285 print(f'Current hardware settings:')
300 print(f'NIC statistics:')
335 print(f'Time stamping parameters for {args.device}:')
337 print('Capabilities:')
338 [print(f'\t{v}') for v in bits_to_dict(tsinfo['timestamping'])]
340 print(f'PTP Hardware Clock: {tsinfo["phc-index"]}')
342 print('Hardware Transmit Timestamp Modes:')
343 [print(f'\t{v}') for v in bits_to_dict(tsinfo['tx-types'])]
345 print('Hardware Receive Filter Modes:')
346 [print(f'\t{v}') for v in bits_to_dict(tsinfo['rx-filters'])]
348 print('Statistics:')
349 [print(f'\t{k}: {v}') for k, v in tsinfo['stats'].items()]
352 print(f'Settings for {args.device}:')
358 print(f'Supported ports: [ {" ".join(ports)} ]')
371 print(f'Supported FEC modes: {fec_str}')
376 print(f'Speed: {speed}')
385 print(f'Duplex: {duplex}')
390 print(f'Auto-negotiation: {autoneg}')
402 print(f'Port: {ports.get(linkinfo["port"], "Other")}')
410 print(f'Transceiver: {transceiver.get(linkinfo["transceiver"], "Unknown")}')
421 print(f'MDI-X: {mdix}')
425 print(f'Current message level: {" ".join(msgmask)}')
434 print(f'Link detected: {detected}')