]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: Rework interrupt handling
authorSunil Goutham <sgoutham@cavium.com>
Sun, 30 Aug 2015 09:29:14 +0000 (12:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2015 04:54:12 +0000 (21:54 -0700)
commit7d6f69f9363dde30927de7dca39e4f3afedaab90
treebc3aa1cfd04cfaebe6f6280f64b783f9175b1ef4
parentd4fc22467003475fc155b09de464ee245175b152
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>
drivers/net/ethernet/cavium/thunder/nic.h
drivers/net/ethernet/cavium/thunder/nicvf_main.c
drivers/net/ethernet/cavium/thunder/nicvf_queues.h