diff options
author | Miquel Raynal <[email protected]> | 2022-04-07 12:08:58 +0200 |
---|---|---|
committer | Stefan Schmidt <[email protected]> | 2022-04-25 20:51:12 +0200 |
commit | 5a1b57c0dde9b93ba8261fa1c81f9aae2bac284a (patch) | |
tree | 2727624358f8d0b4ea17a076b5313ef320c8695e /tools/perf/scripts/python/libxed.py | |
parent | 30ca44eb2480ede838c7c8c131a7d25589a98f0a (diff) |
net: mac802154: Create an error helper for asynchronous offloading errors
A few drivers do the full transmit operation asynchronously, which means
that a bus error that happens when forwarding the packet to the
transmitter or a timeout happening when offloading the request to the
transmitter will not be reported immediately.
The solution in this case is to call this new helper to free the
necessary resources, restart the queue and always return the same
generic TRAC error code: IEEE802154_SYSTEM_ERROR.
Suggested-by: Alexander Aring <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Acked-by: Alexander Aring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stefan Schmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions