]> 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)
commit2217038fecce54727850881278986abb3b9031e7
treebc3aa1cfd04cfaebe6f6280f64b783f9175b1ef4
parentc6afd2eda675ec4abf0ff01dd3b5e804ef2a43f2
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