]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: Enable mailbox interrupts on 81xx/83xx
authorSunil Goutham <sgoutham@cavium.com>
Fri, 12 Aug 2016 11:21:29 +0000 (16:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 18:59:30 +0000 (11:59 -0700)
commit71ce0888608ecaa1af912bdb0371b5445aa46267
treeac01f2a7d73e3540aff86ca93bc80053be932875
parent798c3fc38b157304787e235a47468c86673bca9f
net: thunderx: Enable mailbox interrupts on 81xx/83xx

88xx has 128 VFs, 81xx has 8 VFs and 83xx will have 32VFs.
Made changes to PF driver such that mailbox interrupt enable
registers are configuired based on number of VFs HW supports.
Also cleanedup mailbox irq handler registration code.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nic_main.c