diff options
| author | Doug Berger <[email protected]> | 2017-10-25 15:04:15 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-26 10:14:54 +0900 |
| commit | fbf557d9d1bf93892db70121061c81aaded41607 (patch) | |
| tree | 3b3be30beed4377e998341f84572375decd30253 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 7587935cfa119e122215e37e002a481d7374198b (diff) | |
net: bcmgenet: cleanup ring interrupt masking and unmasking
Since the NAPI interrupts are basically ignored when NAPI is
disabled we don't need to mask them within the functions
bcmgenet_disable_tx_napi() and bcmgenet_disable_rx_napi().
So wait until all NAPI instances are disabled and mask all of the
bcmgenet driver interrupts together in bcmgenet_netif_stop().
The interrupts can still be enabled in the functions
bcmgenet_enable_tx_napi() and bcmgenet_enable_rx_napi(), but use
the ring context int_enable() method to keep the functionality
consistent and the code cleaner.
Signed-off-by: Doug Berger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions