diff options
author | Alex Elder <[email protected]> | 2021-01-13 11:15:28 -0600 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-01-14 17:40:01 -0800 |
commit | a60d0632f6e8e62584cd25d830c69dd09b0d4115 (patch) | |
tree | 3d4599b75ab1019f8c5d37f1c58b6c3423b440d8 /tools/perf/scripts/python/sctop.py | |
parent | d9cbe818485bafaf460e5d2a414b0f72b5a200ee (diff) |
net: ipa: introduce some interrupt helpers
Create a new function gsi_irq_ev_ctrl_enable() that encapsulates
enabling the event ring control GSI interrupt type, and enables a
single event ring to signal that interrupt. When an event ring
changes state as a result of an event ring command, it triggers this
interrupt.
Create an inverse function gsi_irq_ev_ctrl_disable() as well.
Because only one event ring at a time is enabled for this interrupt,
we can simply disable the interrupt for *all* channels.
Create a pair of helpers that serve the same purpose for channel
commands.
Signed-off-by: Alex Elder <[email protected]>
Reviewed-by: Saeed Mahameed <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions