Home
last modified time | relevance | path

Searched full:raise (Results 1 – 25 of 389) sorted by relevance

12345678910>>...16

/linux/tools/testing/selftests/drivers/net/
H A Dhds.py18 raise KsftSkipEx('ring-get not supported by device')
20 raise KsftSkipEx('tcp-data-split not supported by device')
39 raise KsftSkipEx('ring-get not supported by device')
42 raise KsftSkipEx('setting Tx ring size not supported')
59 raise KsftSkipEx('ring-get not supported by device')
61 raise KsftSkipEx('hds-thresh not supported by device')
100 raise KsftSkipEx("disabling of HDS not supported by the device")
102 raise KsftSkipEx("ring-set not supported by the device")
106 raise KsftSkipEx('ring-get not supported by device')
108 raise KsftSkipEx('tcp-data-split not supported by device')
[all …]
H A Dnetpoll_basic.py76 raise KsftSkipEx(
109 raise KsftSkipEx(
134 raise KsftSkipEx(
158 raise KsftFailEx(
187 raise KsftFailEx(
220 raise KsftFailEx(
252 raise KsftSkipEx("BPFtrace thread is not alive. Skipping test")
264 raise KsftFailEx("BPFtrace didn't start")
276 raise KsftFailEx(f"bpftrace failed to run!?: {MAPS}")
295 raise KsftXfailEx("netpoll_poll_dev() was not called during the test...")
[all …]
H A Dqueues.py31 raise KsftSkipEx('AF_XDP unsupported')
33 raise KsftFailEx('unable to create AF_XDP socket')
42 raise KsftSkipEx("Netlink reports no queues")
67 raise KsftSkipEx('queue-get not supported by device')
76 raise KsftSkipEx('queue-get not supported by device')
80 raise KsftSkipEx('cannot decrement queue: already at 1')
H A Dstats.py34 raise KsftSkipEx("pause not supported by the device") from e
35 raise
52 raise KsftSkipEx("FEC not supported by the device") from e
53 raise
71 raise KsftSkipEx("FEC not supported by the device") from e
72 raise
74 raise KsftSkipEx("FEC stats not supported by the device")
76 raise KsftSkipEx("FEC histogram not supported by the device")
105 raise KsftSkipEx("qstats not supported by the device")
122 raise KsftFailE
[all...]
H A Dring_reconfig.py228 raise KsftSkipEx(f"root qdisc '{root['kind']}' is not mq; "
235 raise KsftSkipEx(
250 raise KsftSkipEx("tc flower/act_skbedit not available") from exc
268 raise KsftSkipEx("SO_TXTIME not supported") from exc
300 (e.g. bnxt needs a large ring for software UDP segmentation), so raise
311 raise KsftSkipEx("driver rejects all tx ring sizes up to 1024")
323 raise KsftSkipEx("device does not support combined channels")
325 raise KsftSkipEx("device does not support 2+ combined channels")
333 raise KsftSkipEx("device does not expose rx/tx ring params")
336 raise KsftSkipEx("tx ring size already at minimum")
[all …]
/linux/tools/testing/selftests/signal/
H A Dmangle_uc_sigmask.c56 if (raise(SIGUSR2)) in handler_verify_ucontext()
57 ksft_exit_fail_perror("raise"); in handler_verify_ucontext()
79 * Break out of infinite recursion caused by raise(SIGUSR1) invoked in handler_usr()
87 if (raise(SIGSEGV)) in handler_usr()
88 ksft_exit_fail_perror("raise"); in handler_usr()
96 if (raise(SIGUSR1)) in handler_usr()
97 ksft_exit_fail_perror("raise"); in handler_usr()
102 /* Raise USR1 again; only one instance must be delivered upon exit */ in handler_usr()
103 if (raise(SIGUSR1)) in handler_usr()
104 ksft_exit_fail_perror("raise"); in handler_usr()
[all …]
/linux/tools/net/sunrpc/xdrgen/generators/
H A D__init__.py31 raise NotImplementedError("Language not supported")
81 raise NotImplementedError("No language support defined")
85 raise NotImplementedError("Header boilerplate generation not supported")
89 raise NotImplementedError("Header boilerplate generation not supported")
93 raise NotImplementedError("Source boilerplate generation not supported")
101 raise NotImplementedError("No language support defined")
105 raise NotImplementedError("Declaration generation not supported")
109 raise NotImplementedError("Decoder generation not supported")
113 raise NotImplementedError("Definition generation not supported")
117 raise NotImplementedErro
[all...]
/linux/tools/crypto/ccp/
H A Ddbc.py30 raise OSError(code, os.strerror(code))
35 raise ValueError("Device required")
45 raise ValueError("Signature required")
47 raise ValueError("UID required")
56 raise ValueError("Signature required")
58 raise ValueError("Expected message tuple")
H A Ddbc_cli.py70 raise IOError("Missing device {device}".format(device=args.device))
73 raise ValueError("Invalid signature file %s" % args.signature)
77 raise ValueError(
82 raise ValueError("Invalid uid file %s" % args.uid)
86 raise ValueError(
111 raise ValueError("Invalid message %s" % args.message)
124 raise ValueError("Invalid message %s" % args.message)
/linux/tools/testing/selftests/drivers/net/hw/
H A Ddevlink_rate_tc_bw.py114 raise KsftSkipEx(f"Failed to enable switchdev mode on {cfg.pci}") from exc
119 raise KsftSkipEx(f"Failed to enable SR-IOV on {cfg.ifname}") from exc
127 raise KsftSkipEx("VF interface not found")
189 raise KsftSkipEx("Could not find representor for the VF")
200 raise KsftSkipEx("Could not find VF port index")
220 raise KsftSkipEx("devlink rate configuration is not supported on the VF") from exc
221 raise KsftFailEx(f"rate_set failed on VF port {port_index}") from exc
267 raise KsftFailEx("iperf3 barrier wait timed") from exc
272 raise KsftFailEx("iperf3 bandwidth measurement failed") from exc
307 raise KsftFailE
[all...]
H A Ddevlink_rate_cross_esw.py47 raise KsftSkipEx(f"No bond slaves for {bond_ifname}")
61 raise KsftSkipEx(f"Need 2 bond slaves, found {len(slaves)}")
79 raise KsftSkipEx(f"VF port not found for {pf_pci}")
98 raise KsftSkipEx(f"VF not found for {pf}")
122 raise KsftSkipEx("rate_new not supported") from e
123 raise KsftFailEx("rate_new failed") from e
167 raise KsftSkipEx("rate_set not supported") from e
168 raise KsftFailEx("rate_set failed") from e
189 raise KsftSkipEx("rate_set not supported") from e
191 raise KsftSkipEx("Cross-esw scheduling not supported") from e
[all …]
H A Dpp_alloc_fail.py28 raise KsftSkipEx("Kernel built without function error injection (or DebugFS)")
67 raise KsftFailEx("Traffic seems low:", stat2['rx-packets'] - stat1['rx-packets'])
76 raise
78 raise KsftSkipEx("Driver does not report 'rx-alloc-fail' via qstats")
95 raise KsftSkipEx("Allocation failures not increasing")
100 raise KsftSkipEx("Allocation increasing too slowly", seen_fails,
H A Drss_ctx.py61 raise KsftSkipEx("Device does not support ntuple-filters")
71raise KsftSkipEx(f"Test requires at least {need_cnt} contexts, but device only has {cfg.context_cn…
125 raise KsftSkipEx("Device has fewer than 3 queues (or doesn't support queue stats)")
131 raise KsftFailEx("ethtool results missing key: " + k)
133 raise KsftFailEx(f"ethtool results empty for '{k}': {data[k]}")
229 raise KsftSkipEx("Not enough queues for the test or qstat not supported")
282raise Exception(f"Driver didn't prevent us from deactivating a used queue (context {ctx_id})")
294raise Exception(f"Driver didn't prevent us from targeting a nonexistent queue (context {ctx_id})")
315raise Exception(f"Driver didn't prevent us from deactivating a used queue (context {ctx_id})")
332 raise KsftSkipEx(f"Not enough queues for the test: {ch_max}")
[all …]
H A Drss_input_xfrm.py67 raise KsftSkipEx("Need at least two CPUs to test symmetric RSS hash")
72 raise KsftSkipEx("socket.SO_INCOMING_CPU was added in Python 3.11")
77 raise KsftSkipEx("Symmetric RSS hash not supported by device")
97 raise KsftFailEx("Failed to run traffic")
/linux/scripts/gdb/linux/
H A Drbtree.py29 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type))
45 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type))
70 raise gdb.GdbError("Must be struct rb_node not {}".format(node.type))
93 raise gdb.GdbError("Must be struct rb_node not {}".format(node.type))
124 raise gdb.GdbError("No entry in tree")
144 raise gdb.GdbError("No entry in tree")
164 raise gdb.GdbError("No entry in tree")
184 raise gdb.GdbError("No entry in tree")
H A Dmapletree.py39 raise gdb.GdbError("must be {} not {}"
111 raise gdb.GdbError("{} must be {} not {}"
126 raise gdb.GdbError("{} must be {} not {}"
132 raise gdb.GdbError("{} must be {} not {}"
146 raise gdb.GdbError("{} must be {} not {}"
153 raise gdb.GdbError("{} must be {} not {}"
172 raise gdb.GdbError("{}: must be {} not {}"
183 raise gdb.GdbError("{}: must be {} not {}"
H A Dstackdepot.py21 raise gdb.GdbError(t)
30 raise gdb.GdbError("stack_depot_disabled\n")
38 raise gdb.GdbError("handle is 0\n")
58 raise gdb.GdbError("CONFIG_STACKDEPOT is not enabled")
77 raise gdb.GdbError('CONFIG_STACKDEPOT is not set')
/linux/tools/testing/selftests/drivers/net/lib/py/
H A Denv.py55 raise Exception("Can't parse configuration line:", full_file)
103 raise KsftXfailEx("Test only works on netdevsim")
108 raise KsftXfailEx("Test does not work on netdevsim")
153 raise KsftXfailEx("Test only works on netdevsim")
166 raise KsftXfailEx("Test does not work on netdevsim")
240 raise Exception("Invalid environment, missing configuration:", missing,
250 raise Exception("Can't resolve remote interface name, v4 and v6 don't match")
252 raise Exception("Can't resolve remote interface name, multiple interfaces match")
271 raise KsftSkipEx(f"Test requires IPv{ipver} connectivity")
295 raise KsftXfailEx("Test only works on netdevsim")
[all …]
H A Dload.py66 raise RuntimeError("iperf3 failed to run successfully")
70 raise ValueError("Failed to parse iperf3 JSON output") from exc
75 raise ValueError(f"iperf3 returned too few intervals: {len(samples)}")
95 raise Exception("iperf3 traffic did not ramp up")
142 raise Exception(f"Waiting for client to stop timed out after {timeout}s")
/linux/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py148 raise KeyError(
157 raise KeyError("Missing flag value: %s" % flag)
272 raise ValueError("Bad fmt string")
281 raise ValueError("Masking support TBD...")
325 raise ValueError("Action contains unbalanced parentheses")
345 raise ValueError("Unknown attribute: '%s'" % actstr)
350 raise ValueError("Action string contains extra garbage or has "
762 raise ValueError(
766 raise ValueError("push_vlan(): no fields")
769 raise ValueError(
[all …]
/linux/tools/verification/rvgen/rvgen/
H A Dkunit.py31 raise KUnitError(e) from e
50 raise FileNotFoundError(f"Could not find monitor C file for '{self.name}'")
131 raise KUnitError(f"Error patching monitor file {self.monitor_path}: {e}") from e
142 raise KUnitError(f"No handlers found in {self.monitor_path}")
178 raise KUnitError(f"Error backing up file {path}: {e}") from e
186 raise KUnitError(f"Error writing to file {header_file_path}: {e}") from e
194 raise KUnitError(f"Error writing to file {kunit_c_file_path}: {e}") from e
H A Dltl2ba.py150 raise NotImplementedError
153 raise NotImplementedError
156 raise NotImplementedError
167 raise NotImplementedError
288 raise NotImplementedError
291 raise NotImplementedError
299 raise NotImplementedError
443 raise ValueError("Unknown operator %s" % node[0])
454 raise ValueError("Unknown operator %s" % node[1])
474 raise LTLErro
[all...]
/linux/tools/testing/kunit/
H A Dkunit_kernel.py54 raise ConfigError('Could not call make command: ' + str(e))
56 raise ConfigError(e.output.decode())
71 raise ConfigError('Could not call make command: ' + str(e))
73 raise ConfigError(e.output.decode())
88 raise BuildError('Could not call execute make: ' + str(e))
90 raise BuildError(e.output)
93 raise BuildError(stderr.decode())
98 raise RuntimeError('not implemented!')
186 raise ConfigError(f'Specified kunitconfig ({path}) does not exist')
192 raise ConfigErro
[all...]
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py213 raise AttributeError(name)
295 raise YnlException(f"Auto-scalar len payload be 4 or 8 bytes, got {len(self.raw)}")
479 raise YnlException(f"Netlink error: {nl_msg.error}")
530 raise YnlException(f"Netlink error: {nl_msg.error}")
599 raise YnlException(f'Multicast group "{mcast_name}" not present in the spec')
628 raise YnlException(f'Multicast group "{mcast_name}" not present in the family')
650 raise YnlException(
652 raise YnlException(f"Attribute '{name}' not defined in any attribute-set")
721 raise YnlException(f"Family '{self.yaml['name']}' not supported by the kernel") from err
732 raise ConfigError()
[all …]
/linux/Documentation/sphinx/
H A Dkernel_include.py163 raise self.severe('Problems with directive path:\n'
167 raise self.severe('Problems with directive path:\n%s.' % ErrorString(error))
172 raise self.severe('Problem with directive:\n%s' % ErrorString(error))
187 raise self.severe(f'Problem with "{self.name}" directive:\n'
196 raise self.severe('Problem with "start-after" option of "%s" '
204 raise self.severe('Problem with "end-before" option of "%s" '
298 raise self.error(":number-lines: with non-integer start value")
350 raise self.warning(f'File "%s" doesn\'t exist', path)
357 raise self.severe('Problems with "%s" directive, prohibited path: %s' %
361 raise self.severe('Problems with "%s" directive, invalid path: %s' %
[all …]

12345678910>>...16