diff options
author | Sunil Goutham <sgoutham@cavium.com> | 2015-08-30 12:29:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-30 21:54:12 -0700 |
commit | 39ad6eea6c1a01b69abb1102a767697fb9349830 (patch) | |
tree | bc3aa1cfd04cfaebe6f6280f64b783f9175b1ef4 /drivers/net/ethernet/cavium/thunder/nic.h | |
parent | aa2e259b474a4f52ecc9f6e0d444547de0aac4b2 (diff) | |
download | linux-39ad6eea6c1a01b69abb1102a767697fb9349830.tar.gz linux-39ad6eea6c1a01b69abb1102a767697fb9349830.tar.bz2 linux-39ad6eea6c1a01b69abb1102a767697fb9349830.zip |
net: thunderx: Rework interrupt handling
Rework interrupt handler to avoid checking IRQ affinity of
CQ interrupts. Now separate handlers are registered for each IRQ
including RBDR. Register interrupt handlers for only those
which are being used. Add nicvf_dump_intr_status() and use it
in irq handlers.
Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/thunder/nic.h')
-rw-r--r-- | drivers/net/ethernet/cavium/thunder/nic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cavium/thunder/nic.h b/drivers/net/ethernet/cavium/thunder/nic.h index a83f567a5740..89b997e07313 100644 --- a/drivers/net/ethernet/cavium/thunder/nic.h +++ b/drivers/net/ethernet/cavium/thunder/nic.h @@ -135,6 +135,7 @@ #define NICVF_TX_TIMEOUT (50 * HZ) struct nicvf_cq_poll { + struct nicvf *nicvf; u8 cq_idx; /* Completion queue index */ struct napi_struct napi; }; |